ResXResourceReader.IEnumerable.GetEnumerator Method

Definition

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

C#
System.Collections.IEnumerator 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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10