Click or drag to resize
PhysicalUnitFind Method (String, CultureInfo)
Looks up and returns the unit associated with the specified unit abbreviation. The default unit system for the abbreviation is determined by looking up the default system for capacity in the specified culture.

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 Unit Find(
	string abbreviation,
	CultureInfo culture
)

Parameters

abbreviation
Type: SystemString
The unit abbreviation
culture
Type: System.GlobalizationCultureInfo
The optional culture to use during lookup, in case the abbreviation is culture-specific or the preferred system needs to be determined from the culture

Return Value

Type: Unit
The unit which most closely matches the search criteria
See Also
Community
Edit

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