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
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public int EndOffset()
Visual Basic
Public Function EndOffset As Integer
Visual C++
public:
virtual int EndOffset() sealed

Return Value

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

Implements

OffsetAttribute..::..EndOffset()()()()

See Also