System.Resources.ResXResourceReader.GetMetadataEnumerator Method

Provides a dictionary enumerator that can retrieve the design-time properties from the current XML resource file or stream.

Syntax

public IDictionaryEnumerator GetMetadataEnumerator ()

Returns

An enumerator for the metadata in a resource.

Remarks

Resources are stored as name/value pairs in a resource file or stream. Design-time properties, which are called metadata, are stored in the resource file or stream along with runtime data resources. The ResXResourceReader.GetMetadataEnumerator method provides an IDictionaryEnumerator object that can retrieve the metadata from the resource file or stream associated with the current System.Resources.ResXResourceReader object. However, if the ResXResourceReader.UseResXDataNodes property is set to true before you call ResXResourceReader.GetMetadataEnumerator, no resource nodes are retrieved.

Requirements

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