| PhysicalUnitGetUnitsRX Method |
Returns a regular expression which matches 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 string GetUnitsRX(
CultureInfo culture,
bool includeDefaultAbbreviationsWithCultureAbbreviations
)
Public Shared Function GetUnitsRX (
culture As CultureInfo,
includeDefaultAbbreviationsWithCultureAbbreviations As Boolean
) As String
public:
static String^ GetUnitsRX(
CultureInfo^ culture,
bool includeDefaultAbbreviationsWithCultureAbbreviations
)
static member GetUnitsRX :
culture : CultureInfo *
includeDefaultAbbreviationsWithCultureAbbreviations : bool -> string
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:
StringA string representing a regular expression.
See Also
Comments