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# |
|---|
public virtual void SetOffset( int startOffset, int endOffset ) |
| Visual Basic |
|---|
Public Overridable Sub SetOffset ( _ startOffset As Integer, _ endOffset As Integer _ ) |
| Visual C++ |
|---|
public: virtual void SetOffset( int startOffset, int endOffset ) |
Parameters
- startOffset
- Type: System..::..Int32
[Missing <param name="startOffset"/> documentation for "M:Lucene.Net.Analysis.Tokenattributes.OffsetAttributeImpl.SetOffset(System.Int32,System.Int32)"]
- endOffset
- Type: System..::..Int32
[Missing <param name="endOffset"/> documentation for "M:Lucene.Net.Analysis.Tokenattributes.OffsetAttributeImpl.SetOffset(System.Int32,System.Int32)"]