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,
	string newTerm
)
Visual Basic
Public Overridable Sub Reinit ( _
	prototype As Token, _
	newTerm As String _
)
Visual C++
public:
virtual void Reinit(
	Token^ prototype, 
	String^ newTerm
)

Parameters

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

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

newTerm
Type: System..::..String

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

See Also