Constructs a Token with the given term buffer (offset & length), start and end offsets

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

Syntax

C#
public Token(
	char[] startTermBuffer,
	int termBufferOffset,
	int termBufferLength,
	int start,
	int end
)
Visual Basic
Public Sub New ( _
	startTermBuffer As Char(), _
	termBufferOffset As Integer, _
	termBufferLength As Integer, _
	start As Integer, _
	end As Integer _
)
Visual C++
public:
Token(
	array<wchar_t>^ startTermBuffer, 
	int termBufferOffset, 
	int termBufferLength, 
	int start, 
	int end
)

Parameters

startTermBuffer
Type: array<System..::..Char>[]()[][]

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

termBufferOffset
Type: System..::..Int32

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

termBufferLength
Type: System..::..Int32

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

start
Type: System..::..Int32

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

end
Type: System..::..Int32

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

See Also