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)

Syntax

'Declaration
ReadOnly Property Keys As ICollection
ICollection Keys { get; }
property ICollection^ Keys {
    ICollection^ get ();
}
abstract Keys : ICollection with get
function get Keys () : ICollection

Property Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

IDictionary Interface

System.Collections Namespace