Gets an ICollection containing the keys in the Hashtable.
[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;
An ICollection containing the keys in the Hashtable.
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 Hashtable will continue to be reflected in the returned ICollection. It is not a static copy.
Hashtable Class | Hashtable Members | System.Collections Namespace | ICollection | Values