Copies the contents of buffer, starting at offset 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(
	char[] buffer,
	int offset,
	int length
)
Visual Basic
Public Overridable Sub SetTermBuffer ( _
	buffer As Char(), _
	offset As Integer, _
	length As Integer _
)
Visual C++
public:
virtual void SetTermBuffer(
	array<wchar_t>^ buffer, 
	int offset, 
	int length
)

Parameters

buffer
Type: array<System..::..Char>[]()[][]
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(array<Char>[]()[][], Int32, Int32)

See Also