Click or drag to resize
MeasureToken Constructor (String, String, String, String, Unit, String, Char, NumberFormatInfo)
Initializes a new instance with the specified values.

Namespace: Sdl.LanguagePlatform.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public MeasureToken(
	string text,
	string sign,
	string decimalPart,
	string fractionalPart,
	Unit unit,
	string unitString,
	char unitSeparator,
	NumberFormatInfo format
)

Parameters

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
Community
Edit

Be the first to Edit the community content of this topic.
Comments