







![]() ![]() |
DotRas SDK Documentation |
RasCollection<(Of <(<'TObject>)>)>..::..Add Method |
RasCollection<(Of <(<'TObject>)>)> Class See Also Send Feedback |
![]() |
Adds the item to the collection.
Namespace: DotRas.Design
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
---|
public void Add( TObject item ) |
Visual Basic |
---|
Public Sub Add ( item As TObject ) |
Visual C++ |
---|
public: virtual void Add( TObject item ) sealed |
F# |
---|
abstract Add : item : 'TObject -> unit override Add : item : 'TObject -> unit |
Parameters
- item
- Type: TObject
An TObject to add. This argument cannot be a null (Nothing in Visual Basic).
Implements
ICollection<(Of <(<'T>)>)>..::..Add(T)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | item is a null reference (Nothing in Visual Basic). |