|
|
| System.Collections.IDictionaryEnumerator Interface |
|
| |
| Description | |
|
Collections are classes that literally hold collections of data, such as lists, queues and stacks. IDictionaryEnumerator defines the behaviour of a class that allows the items in a collection to be read (but not updated) in sequence - specifically, classes that have DictionaryEntry elements.
The IDictionaryEnumerator interface provides the following methods (inherited from IEnumerator) :
| MoveNext | Position to the next item in the list (enumeration). This must be used when first using an IDictionaryEnumerator, or after a Reset, since position is before the first item |
| Reset | repositions to before the first item in the list (enumeration). |
A IDictionaryEnumerator is returned by the GetEnumerator method of System.Collections.SortedList. |
|
| Properties | | | | Entry | | DictionaryEntry | | When implemented by a class, gets both the key and the value of the current dictionary entry.
| | Key | | Object | | When implemented by a class, gets the key of the current dictionary entry.
| | Value | | Object | | When implemented by a class, gets the value of the current dictionary entry. |
| Delphi Basics links | | | |
Microsoft MSDN links | |
|
|
|
|
|
| |
|
|
|