Click or drag to resize
PhysicalUnitFind Method (String, UnitSystem, CultureInfo)
Looks up and returns the unit associated with the specified unit abbreviation.

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,
	UnitSystem preferredSystem,
	CultureInfo culture
)

Parameters

abbreviation
Type: SystemString
The unit abbreviation
preferredSystem
Type: Sdl.LanguagePlatform.Core.TokenizationUnitSystem
The preferred system, in case the abbreviation is known in multiple systems.
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