O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 field DictionaryEntry Entry{get; } 
   public field object Key{get; } 
   public field object Value{get; } 
}

Returned By

DictionaryBase.GetEnumerator(), Hashtable.GetEnumerator(), IDictionary.GetEnumerator(), SortedList.GetEnumerator(), System.Collections.Specialized.HybridDictionary.GetEnumerator(), System.Collections.Specialized.ListDictionary.GetEnumerator()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required