Set the starting and ending offset. See StartOffset() and EndOffset()

Namespace: Lucene.Net.Analysis
Assembly: 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.Token.SetOffset(System.Int32,System.Int32)"]

endOffset
Type: System..::..Int32

[Missing <param name="endOffset"/> documentation for "M:Lucene.Net.Analysis.Token.SetOffset(System.Int32,System.Int32)"]

Implements

OffsetAttribute..::..SetOffset(Int32, Int32)

See Also