NamedStyle.GetLocalizedDisplayName Method
Gets a localized version of the style display name in a specific language.
GetLocalizedDisplayName(System.String language)
Gets a localized version of the style display name in a specific language.Syntax
public System.String GetLocalizedDisplayName (
System.String language
)
Parameters
The requested language.
Return Value
The display name in the requested language or the default language.
Remarks
If no display name is available in the specified language, the value of the DisplayName property will be returned (which may still be an empty string).
To find out which languages are available in a loaded configuration, use Configuration.DefaultLanguage and Configuration.AdditionalLanguages. You can also check if a value is actually set for a specific language or if the default value would be returned, see HasLocalizedDisplayName.
Platforms
Windows, Linux, Android