Name
IDictionaryEnumerator
Synopsis
This interface is an
enumerator for
Dictionary
collections. It defines three read-only
properties that can be obtained from the currently selected element
of the collection. The Entry
property gets an
entry (key and value) in the form of a
DictionaryEntry
object. Key
and
Value
return the key and value of the current
element.
public interface IDictionaryEnumerator : IEnumerator { // Public Instance Properties public DictionaryEntry Entry{get; } public object Key{get; } public object Value{get; } }
Returned By
DictionaryBase.GetEnumerator( )
,
Hashtable.GetEnumerator( )
,
IDictionary.GetEnumerator( )
,
SortedList.GetEnumerator( )
,
System.Collections.Specialized.HybridDictionary.GetEnumerator( )
,
System.Collections.Specialized.ListDictionary.GetEnumerator( )
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.