Copy the prototype token's fields into this one, with a different term. Note: Payloads are shared.

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

Syntax

C#
public virtual void Reinit(
	Token prototype,
	char[] newTermBuffer,
	int offset,
	int length
)
Visual Basic
Public Overridable Sub Reinit ( _
	prototype As Token, _
	newTermBuffer As Char(), _
	offset As Integer, _
	length As Integer _
)
Visual C++
public:
virtual void Reinit(
	Token^ prototype, 
	array<wchar_t>^ newTermBuffer, 
	int offset, 
	int length
)

Parameters

prototype
Type: Lucene.Net.Analysis..::..Token

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

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

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

offset
Type: System..::..Int32

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

length
Type: System..::..Int32

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

See Also