Returns the Token's term text. This method has a performance penalty because the text is stored internally in a char[]. If possible, use {@link #TermBuffer()} and {@link #TermLength()} directly instead. If you really need a String, use this method, which is nothing more than a convenience call to new String(token.termBuffer(), 0, token.termLength())

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

Syntax

C#
public virtual string Term()
Visual Basic
Public Overridable Function Term As String
Visual C++
public:
virtual String^ Term()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Analysis.Tokenattributes.TermAttributeImpl.Term"]

Implements

TermAttribute..::..Term()()()()

See Also