Adds an item to the collection.
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Overridable Sub Add ( _
    item As T _
)
public virtual void Add(
    T item
)
public:
virtual void Add(
    T item
)
abstract Add : 
        item:'T -> unit  
override Add : 
        item:'T -> unit
public function Add(
    item : T
)
Parameters
- item 
 Type: T- An item whose type matches the generic type that was declared when the class was created. 
Implements
ICollection.Add(UTP)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.