| PhysicalUnitFind Method (String, UnitSystem, CultureInfo) |
Looks up and returns the unit associated with the specified unit abbreviation.
Namespace: Sdl.LanguagePlatform.Core.TokenizationAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static Unit Find(
string abbreviation,
UnitSystem preferredSystem,
CultureInfo culture
)
Public Shared Function Find (
abbreviation As String,
preferredSystem As UnitSystem,
culture As CultureInfo
) As Unit
public:
static Unit Find(
String^ abbreviation,
UnitSystem preferredSystem,
CultureInfo^ culture
)
static member Find :
abbreviation : string *
preferredSystem : UnitSystem *
culture : CultureInfo -> Unit
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:
UnitThe unit which most closely matches the search criteria
See Also
Comments