Click or drag to resize
MeasureToken Properties

The MeasureToken type exposes the following members.

Properties
  NameDescription
Public propertyAlternateDecimalSeparator
Gets or sets an alternate decimal separator, which is a single char if an alternate separator is used, or the null character if no alternate separator is used.
(Inherited from NumberToken.)
Public propertyAlternateGroupSeparator
Gets or sets an alternate group separator, which is a single char if an alternate separator is used, or the null character if no alternate separator is used.
(Inherited from NumberToken.)
Public propertyDecimalSeparator
Gets or sets the decimal separator
(Inherited from NumberToken.)
Public propertyGroupSeparator
Gets or sets the group separator
(Inherited from NumberToken.)
Public propertyIsPlaceable
IsPlaceable. Always true for this class.
(Overrides NumberTokenIsPlaceable.)
Public propertyIsPunctuation
true iff the token is a general punctuation, an opening punctuation, or a closing punctuation
(Inherited from Token.)
Public propertyIsSubstitutable
IsSubstitutable. Always true for this class.
(Overrides NumberTokenIsSubstitutable.)
Public propertyIsValid
Gets a boolean value which indicates whether this measurement is valid. A measurement is valid if either the unit is not the default unit (NoUnit) or the UnitString is set. In most cases, both are set by the tokenizer.
Public propertyIsWhitespace
Gets a value which indicates whether this token is a whitespace token or not.
(Inherited from Token.)
Public propertyIsWord
true iff the token is a word, an abbreviation, or an acronym
(Inherited from Token.)
Public propertyRawDecimalDigits
Gets or sets the raw decimal digits, which are a sequence of digits without separators or signs.
(Inherited from NumberToken.)
Public propertyRawFractionalDigits
Gets or sets the raw fractional digits, which are a sequence of digits without separators or signs.
(Inherited from NumberToken.)
Public propertyRawSign
Gets or sets the "raw" sign, i.e. the textual representation of the sign
(Inherited from NumberToken.)
Public propertySign
Gets or sets the sign.
(Inherited from NumberToken.)
Public propertySpan
Gets or sets the span covered by this token in the original segment.
(Inherited from Token.)
Public propertyText
Gets or sets the token's text.
(Inherited from Token.)
Public propertyType
Gets, or sets, the TokenType of this token.
(Inherited from Token.)
Public propertyUnit
Gets or sets the unit.
Public propertyUnitSeparator
Gets or sets the unit separator.
Public propertyUnitString
Gets or sets the unit string, in case the unit is unknown.
Public propertyValue
Gets or sets the numeric value. Do not use the setter, it is for internal purposes only.
(Inherited from NumberToken.)
Public propertyValueValid
Gets or sets the flag whether the numeric value is valid or not. Do not use the setter, it is for internal purposes only.
(Inherited from NumberToken.)
Top
See Also
Community
Edit

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