net472_PropertyGridHelpers.Attributes_LocalizedTextAttribute_GetLocalizedText - dparvin/PropertyGridHelpers GitHub Wiki
Resolves and retrieves the localized text for this attribute using the provided target type's associated ResourcePathAttribute
.
public string GetLocalizedText(Type targetType)
parameter | description |
---|---|
targetType | The type whose resource path is used to locate the resource class. |
The resolved localized string based on the ResourceKey
and the target type's resource path.
exception | condition |
---|---|
InvalidOperationException | Thrown if the ResourcePathAttribute is missing or if the resource type cannot be located in the assembly. |
- class LocalizedTextAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers