System.Resources.ResXResourceReader.GetEnumerator Method

Returns an enumerator for the current System.Resources.ResXResourceReader object.

Syntax

public IDictionaryEnumerator GetEnumerator ()

Returns

An enumerator for the current System.Resources.ResourceReader object.

Remarks

The ResXResourceReader.GetEnumerator method retrieves the name/value pairs in the XML resource (.resx) stream or string associated with the current System.Resources.ResXResourceReader object. However, if the ResXResourceReader.UseResXDataNodes property is set to true before you call ResXResourceReader.GetEnumerator, the resource items are retrieved as System.Resources.ResXDataNode objects. In this case, all resource nodes are returned regardless of type.

Requirements

Namespace: System.Resources
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0