ResXResourceReader.IEnumerable.GetEnumerator Method


Returns an enumerator for the current ResXResourceReader object. For a description of this member, see the GetEnumerator() method.

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
abstract member System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
override this.System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator



An enumerator that can iterate through the name/value pairs in the XML resource (.resx) stream or string associated with the current ResXResourceReader object.



This member is an explicit interface member implementation. It can be used only when the ResXResourceReader instance is cast to an IEnumerable interface. To enumerate the resources in a .resx file, we recommend that you call the ResXResourceReader.GetEnumerator method, and then call the MoveNext method on the returned IDictionaryEnumerator object.

Applies to