ListExtensions AddItem T  Method MSBuildCodeMetrics
Adds an item to the list and returns the list pointer

Namespace: MSBuildCodeMetrics.Core
Assembly: MSBuildCodeMetrics.Core (in MSBuildCodeMetrics.Core.dll) Version: 0.1.4894.24375
Syntax

public static List<T> AddItem<T>(
	this List<T> list,
	T value
)

Parameters

list
Type: OnlineSystem.Collections.Generic List T 
The list
value
Type: T
Value to add in the list
Type Parameters

T
The list type

Return Value

Type: OnlineList T 
the list

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineList T . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also