Click or drag to resize
SegmentUpdateFromTokenIndices Method
Updates the segment's text from the tokens, and adjusts span indices accordingly. An exception is thrown if the segment is not tokenized.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public bool UpdateFromTokenIndices(
	ICollection<int> tokenIndices
)

Parameters

tokenIndices
Type: System.Collections.GenericICollectionInt32
The list of tokens to update.

Return Value

Type: Boolean
true if the segment was changed, and false otherwise.
See Also
Community
Edit

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