NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Hashtable.Remove

Removes the entry with the specified key from the Hashtable.

[Visual Basic]
Overridable Public Sub Remove( _
   ByVal key As Object _
)
[C#]
public virtual void Remove(
   object key
);
[C++]
public: virtual void Remove(
   Object* key
);
[JScript]
public function Remove(
   key : Object
);

Parameters

key
The key of the entry to remove.

Return Value

None.

Exceptions

Exception Type Condition
ArgumentNullException key is a null reference (in Visual Basic Nothing).
NotSupportedException The Hashtable is read-only.

Remarks

This method overrides the Remove method of the Dictionary class and can itself be overridden by a derived class.

See Also

Hashtable Class | Hashtable Members | System.Collections Namespace | Add | Remove