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