Copies the contents of buffer, starting at offset and continuing for length characters, into the termBuffer array.

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

Syntax

C#
public virtual void SetTermBuffer(
	string buffer,
	int offset,
	int length
)
Visual Basic
Public Overridable Sub SetTermBuffer ( _
	buffer As String, _
	offset As Integer, _
	length As Integer _
)
Visual C++
public:
virtual void SetTermBuffer(
	String^ buffer, 
	int offset, 
	int length
)

Parameters

buffer
Type: System..::..String
the buffer to copy
offset
Type: System..::..Int32
the index in the buffer of the first character to copy
length
Type: System..::..Int32
the number of characters to copy

Implements

TermAttribute..::..SetTermBuffer(String, Int32, Int32)

See Also