RasCollection(TObject).Remove Method

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Removes an entry from the collection.

Namespace: DotRas.Design
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public bool Remove(
	TObject item
)
Visual Basic
Public Function Remove ( 
	item As TObject
) As Boolean
Visual C++
public:
virtual bool Remove(
	TObject item
) sealed
F#
abstract Remove : 
        item : 'TObject -> bool 
override Remove : 
        item : 'TObject -> bool 

Parameters

item
Type: TObject
Required. The item to remove.

Return Value

Type: Boolean
true if the item was removed successfully, otherwise false.

Implements

ICollection<(Of <(<'T>)>)>..::..Remove(T)

Exceptions

Exception Condition
System..::..ArgumentNullException item is a null reference (Nothing in Visual Basic).

See Also