Click or drag to resize
PhysicalUnitGetPreferredAbbreviation Method
Gets the preferred abbreviation for the specified unit. The preferred abbreviation is used for auto-localization. It is the first abbreviation in a list of alternative abbreviations for the unit.

Namespace: Sdl.LanguagePlatform.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public static string GetPreferredAbbreviation(
	Unit unit,
	CultureInfo culture
)

Parameters

unit
Type: Sdl.LanguagePlatform.Core.TokenizationUnit
The unit to look up
culture
Type: System.GlobalizationCultureInfo
An optional culture, in which case the method will return the preferred abbreviation for the target culture (currently ignored)

Return Value

Type: String
The preferred abbreviation for the unit, or null if the unit wasn't found or has no known abbreviation.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments