IExpandoResourceSetGetMetadataEnumerator Method

Returns an IDictionaryEnumerator that can iterate through the metadata of the IExpandoResourceSet.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
IDictionaryEnumerator GetMetadataEnumerator()

Return Value

IDictionaryEnumerator
An IDictionaryEnumerator for the metadata of this IExpandoResourceSet.

Remarks

The returned enumerator iterates through the metadata entries of the IExpandoResourceSet. To obtain a specific metadata by name, use the GetMetaObject or GetMetaString methods. To obtain an enumerator for the resources use the GetEnumerator method instead.

If the SafeMode property is , the IDictionaryEnumerator.Value property of the returned enumerator is a ResXDataNode instance rather than the resource value. This makes possible to check the raw .resx content before deserialization if the .resx file is from an untrusted source. See also the examples at ResXDataNode and ResXResourceSet classes.

The returned enumerators in this assembly support the IEnumerator.Reset method.

See Also