| 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.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic bool UpdateFromTokenIndices(
ICollection<int> tokenIndices
)
Public Function UpdateFromTokenIndices (
tokenIndices As ICollection(Of Integer)
) As Boolean
public:
bool UpdateFromTokenIndices(
ICollection<int>^ tokenIndices
)
member UpdateFromTokenIndices :
tokenIndices : ICollection<int> -> bool
Parameters
- tokenIndices
- Type: System.Collections.GenericICollectionInt32
The list of tokens to update.
Return Value
Type:
Booleantrue if the segment was changed, and false otherwise.
See Also
Comments