Click or drag to resize
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.Tokenization
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public virtual bool SetValue(
	Token blueprint,
	bool keepNumericSeparators
)

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: Boolean
A flag indicating whether the token's value or type were changed.

Implements

ILocalizableTokenSetValue(Token, Boolean)
See Also
Community
Edit

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