| SegmentGetTokenIndex Method |
Returns the index of the token at the specified position.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic int GetTokenIndex(
SegmentPosition p
)
Public Function GetTokenIndex (
p As SegmentPosition
) As Integer
public:
int GetTokenIndex(
SegmentPosition^ p
)
member GetTokenIndex :
p : SegmentPosition -> int
Parameters
- p
- Type: Sdl.LanguagePlatform.CoreSegmentPosition
[Missing <param name="p"/> documentation for "M:Sdl.LanguagePlatform.Core.Segment.GetTokenIndex(Sdl.LanguagePlatform.Core.SegmentPosition)"]
Return Value
Type:
Int32The index of the token at the specified position, or -1 if it is not found,
or if the segment is not tokenized.
See Also
Comments