







![]() ![]() |
DotRas SDK Documentation |
RasEntryCollection..::..Remove Method (String) |
RasEntryCollection Class See Also Send Feedback |
![]() |
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: Booleantrue if the item was removed successfully, otherwise false.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | name is a null reference (Nothing in Visual Basic). |