Click or drag to resize
TokenBundleAdd Method (Token, Int32, Boolean)
Adds a new token to the set of alternatives.

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 void Add(
	Token t,
	int priority,
	bool keepDuplicates
)

Parameters

t
Type: Sdl.LanguagePlatform.Core.TokenizationToken
The token
priority
Type: SystemInt32
The priority assigned to the token
keepDuplicates
Type: SystemBoolean
If true, the token will always be added. If false, and the collection contains a token which Equals t, only the one with the higher priority will be kept.
See Also
Community
Edit

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