- item
- The object to add to the Generic ICollection.
Visual Basic (Declaration) | |
---|---|
Public Sub Add( _ ByVal item As T _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Add( T item ) |
C++/CLI | |
---|---|
public: void Add( T item ) |
Parameters
- item
- The object to add to the Generic ICollection.
Exception | Description |
---|---|
NotSupportedException | The Generic ICollection is read-only. |
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family