| MeasureToken Constructor (String, String, String, String, Unit, String, Char, NumberFormatInfo) |
Initializes a new instance with the specified values.
Namespace: Sdl.LanguagePlatform.Core.TokenizationAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic MeasureToken(
string text,
string sign,
string decimalPart,
string fractionalPart,
Unit unit,
string unitString,
char unitSeparator,
NumberFormatInfo format
)
Public Sub New (
text As String,
sign As String,
decimalPart As String,
fractionalPart As String,
unit As Unit,
unitString As String,
unitSeparator As Char,
format As NumberFormatInfo
)
public:
MeasureToken(
String^ text,
String^ sign,
String^ decimalPart,
String^ fractionalPart,
Unit unit,
String^ unitString,
wchar_t unitSeparator,
NumberFormatInfo^ format
)
new :
text : string *
sign : string *
decimalPart : string *
fractionalPart : string *
unit : Unit *
unitString : string *
unitSeparator : char *
format : NumberFormatInfo -> MeasureTokenParameters
- text
- Type: SystemString
The token text to assign to the token - sign
- Type: SystemString
The sign of the numeric value - decimalPart
- Type: SystemString
The decimal part of the numeric value - fractionalPart
- Type: SystemString
The fractional part of the numeric value - unit
- Type: Sdl.LanguagePlatform.Core.TokenizationUnit
The unit of the measurement - unitString
- Type: SystemString
The textual unit of the measurement - unitSeparator
- Type: SystemChar
The unit separator used between the numeric part and the unit - format
- Type: System.GlobalizationNumberFormatInfo
The token's culture default number format info, to determine
whether primary or alternate separators are used
See Also
Comments