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!

Hashtable.GetEnumerator

Returns an enumerator which can be used to iterate through the Hashtable.

[Visual Basic]
Overridable Public Function GetEnumerator() As IDictionaryEnumerator
[C#]
public virtual IDictionaryEnumerator GetEnumerator();
[C++]
public: virtual IDictionaryEnumerator* GetEnumerator();
[JScript]
public function GetEnumerator() : IDictionaryEnumerator;

Return Value

An IDictionaryEnumerator for the Hashtable.

Remarks

This method can be overridden by a derived class.

The enumerator does not have exclusive access to the Hashtable; therefore, any changes made to the Hashtable may cause Current or MoveNext to throw an exception.

Removing objects from the enumerator will remove them from the Hashtable.

See Also

Hashtable Class | Hashtable Members | System.Collections Namespace | IDictionaryEnumerator | IEnumerator