System.Collections.Specialized.ListDictionary.Remove Method

Removes the entry with the specified key from the System.Collections.Specialized.ListDictionary.

Syntax

public void Remove (object key)

Parameters

key
The key of the entry to remove.

Remarks

If the System.Collections.Specialized.ListDictionary does not contain an element with the specified key, the System.Collections.Specialized.ListDictionary remains unchanged. No exception is thrown.

This method is an O(n) operation, where n is ListDictionary.Count.

Requirements

Namespace: System.Collections.Specialized
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0