Partager via


ItemCollection<T>.Add Method (T)

Add an item to the collection.

Throws if a field that has the same name has already been added.

Namespace:  Microsoft.TeamFoundation.Warehouse
Assembly:  Microsoft.TeamFoundation.Warehouse (in Microsoft.TeamFoundation.Warehouse.dll)

Syntax

'Declaration
Public Sub Add ( _
    item As T _
)
public void Add(
    T item
)
public:
void Add(
    T item
)
member Add : 
        item:'T -> unit
public function Add(
    item : T
)

Parameters

  • item
    Type: T

.NET Framework Security

See Also

Reference

ItemCollection<T> Class

Add Overload

Microsoft.TeamFoundation.Warehouse Namespace