Returns this Token's starting offset, the position of the first character corresponding to this token in the source text. Note that the difference between endOffset() and startOffset() may not be equal to termText.length(), as the term text may have been altered by a stemmer or some other filter.

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

Syntax

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

Return Value

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

See Also