ResXResourceReader.IEnumerable.GetEnumerator Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System.Resources
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

IEnumerator IEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

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.

.NET Framework
Available since 1.1
Return to top