ResXResourceReader.IEnumerable.GetEnumerator Method

Definition

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 ();
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

Returns

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

Implements

Remarks

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