Set the starting and ending offset.
See StartOffset() and EndOffset()
Namespace: Lucene.Net.Analysis.TokenattributesAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
void SetOffset( int startOffset, int endOffset ) |
Visual Basic |
---|
Sub SetOffset ( _ startOffset As Integer, _ endOffset As Integer _ ) |
Visual C++ |
---|
void SetOffset( int startOffset, int endOffset ) |
Parameters
- startOffset
- Type: System..::..Int32
[Missing <param name="startOffset"/> documentation for "M:Lucene.Net.Analysis.Tokenattributes.OffsetAttribute.SetOffset(System.Int32,System.Int32)"]
- endOffset
- Type: System..::..Int32
[Missing <param name="endOffset"/> documentation for "M:Lucene.Net.Analysis.Tokenattributes.OffsetAttribute.SetOffset(System.Int32,System.Int32)"]