RasEntryCollection.Remove Method (String)

DotRas SDK

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

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

Syntax

C#
public bool Remove(
	string name
)
Visual Basic
Public Function Remove ( 
	name As String
) As Boolean
Visual C++
public:
bool Remove(
	String^ name
)
F#
member Remove : 
        name : string -> bool 

Parameters

name
Type: System..::..String
Required. The name of the entry to remove.

Return Value

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

Exceptions

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

See Also