Keys Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets an ICollection object containing the keys of the IDictionary object.

Namespace:  System.Collections
Assembly:  mscorlib (in mscorlib.dll)

ICollection Keys { get; }

Property Value

Type: System.Collections..::..ICollection
An ICollection object containing the keys of the IDictionary object.

The order of the keys in the returned ICollection object is unspecified, but is guaranteed to be the same order as the corresponding values in the ICollection returned by the Values property.

Show: