LocalizationHelperGetResourceBaseName(Type) Method

Gets the base name of the resource file for the specified type. That is, the name of the resource file without the culture name and the .resx extension.

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static string GetResourceBaseName(
	Type type
)

Parameters

type  Type
The type for which the resource base name is requested. This is usually a form or user control type, whose DynamicStringLocalization property is set to LocalScope.

Return Value

String
The base name of the resource file for the specified type.

Remarks

You can use this method to retrieve the base name of resource files associated with a LocalizationContext with LocalScope.

See Also