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#
void SetTermBuffer(
	char[] buffer,
	int offset,
	int length
)
Visual Basic
Sub SetTermBuffer ( _
	buffer As Char(), _
	offset As Integer, _
	length As Integer _
)
Visual C++
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

See Also