Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text. The length of the token in the source text is (endOffset - startOffset).

Namespace: Lucene.Net.Analysis.Tokenattributes
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
int EndOffset()
Visual Basic
Function EndOffset As Integer
Visual C++
int EndOffset()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Analysis.Tokenattributes.OffsetAttribute.EndOffset"]

See Also