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!

Dictionary.Keys

Gets an ICollection containing the keys in the Dictionary.

[Visual Basic]
Overridable Public ReadOnly Property Keys As ICollection
[C#]
public ICollection Keys {virtual get;}
[C++]
public: __property virtual ICollection* get_Keys();
[JScript]
public function get Keys() : ICollection;

Property Value

An ICollection containing the keys in the Dictionary.

Remarks

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 Values method.

Changes to the Dictionary will continue to be reflected in the returned ICollection. It is not a static copy.

See Also

Dictionary Class | Dictionary Members | System.Collections Namespace | ICollection | Values