IExpandoResourceSetGetAliasEnumerator Method

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

Definition

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

Return Value

IDictionaryEnumerator
An IDictionaryEnumerator for the aliases of this IExpandoResourceSet.

Remarks

The returned enumerator iterates through the assembly aliases of the IExpandoResourceSet. To obtain a specific alias value by assembly name, use the GetAliasValue method. To obtain an enumerator for the resources use the GetEnumerator method instead.

The IDictionaryEnumerator.Value property of the returned enumerator is always a String regardless of the value of the SafeMode property.

The IDictionaryEnumerator.Key property of the returned enumerator is the alias name, whereas IDictionaryEnumerator.Value is the corresponding assembly name.

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

See Also