Mono Class Library: System.Collections.Hashtable Overview | Members

System.Collections.Hashtable.Keys Property

Implemented to support the IDictionary interface. [Note: For more information, see IDictionary.Keys.] [Edit]

public virtual ICollection Keys { get; }

Value

A ICollection containing the keys of the current instance. [Edit]

Remarks

This property is read-only.

Operation
As described above.

The order of the keys in the ICollection is unspecified, but it is the same order as the associated values in the ICollection returned by the Hashtable.Values method.

The returned ICollection is a reference to the current instance, not a static copy. Therefore, changes to the current instance continue to be reflected in the ICollection.

[Edit]

Requirements

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