Returns an enumerator which can be used to iterate through the SortedList.
[Visual Basic] Overridable Public Function GetEnumerator() As IDictionaryEnumerator [C#] public virtual IDictionaryEnumerator GetEnumerator(); [C++] public: virtual IDictionaryEnumerator* GetEnumerator(); [JScript] public function GetEnumerator() : IDictionaryEnumerator;
An IDictionaryEnumerator for the SortedList.
This method can be overridden by a derived class.
The enumerator does not have exclusive access to the SortedList; therefore, any changes made to the SortedList may cause Current or MoveNext to throw an exception.
Removing objects from the enumerator will remove them from the SortedList.
SortedList Class | SortedList Members | System.Collections Namespace | IDictionaryEnumerator | IEnumerator