ResourceDictionary.GetEnumerator Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Exposes the enumerator, which supports a simple iteration over a non-generic collection.
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.Collections.IDictionaryEnumeratorAn enumerator that can be used to iterate through the collection.
Implements
IDictionary.GetEnumeratorIn the case of ResourceDictionary, the full implementation of collection support does use a generic collection type (specifically, it implements Dictionary(Of TKey, TValue) with key-value pairs). The enumerator provides these as DictionaryEntry values. Alternatively, you can enumerate over Keys or Values.