RasCollection(TObject).Add Method

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
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).

See Also