| PhysicalUnitGetUnits Method |
Returns a word list which contains all units known for the provided 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 Wordlist GetUnits(
CultureInfo culture,
bool includeDefaultAbbreviationsWithCultureAbbreviations
)
Public Shared Function GetUnits (
culture As CultureInfo,
includeDefaultAbbreviationsWithCultureAbbreviations As Boolean
) As Wordlist
public:
static Wordlist^ GetUnits(
CultureInfo^ culture,
bool includeDefaultAbbreviationsWithCultureAbbreviations
)
static member GetUnits :
culture : CultureInfo *
includeDefaultAbbreviationsWithCultureAbbreviations : bool -> Wordlist
Parameters
- culture
- Type: System.GlobalizationCultureInfo
The culture (may be null) - includeDefaultAbbreviationsWithCultureAbbreviations
- Type: SystemBoolean
If true, the
default units are included with the culture-specifc units.
Return Value
Type:
WordlistA word list which includes the relevant units.
See Also
Comments