| NumberTokenSetValue Method (Token, Boolean) |
Overwrites the current token's value with the value from
blueprint, which
also must be a
DateTimeToken. Note that only the value and the type are
overwritten, not the textual representation.
Namespace: Sdl.LanguagePlatform.Core.TokenizationAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic virtual bool SetValue(
Token blueprint,
bool keepNumericSeparators
)
Public Overridable Function SetValue (
blueprint As Token,
keepNumericSeparators As Boolean
) As Boolean
public:
virtual bool SetValue(
Token^ blueprint,
bool keepNumericSeparators
)
abstract SetValue :
blueprint : Token *
keepNumericSeparators : bool -> bool
override SetValue :
blueprint : Token *
keepNumericSeparators : bool -> bool Parameters
- blueprint
- Type: Sdl.LanguagePlatform.Core.TokenizationToken
The token to take the value from - keepNumericSeparators
- Type: SystemBoolean
Applicable to numeric (number and measurement) tokens only: if true, do not
override the original group and decimal separators.
Return Value
Type:
BooleanA flag indicating whether the token's value or type were changed.
Implements
ILocalizableTokenSetValue(Token, Boolean)
See Also
Comments