Sets this payloads data. A reference to the passed-in array is held, i. e. no copy is made.

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

Syntax

C#
public virtual void SetData(
	byte[] data,
	int offset,
	int length
)
Visual Basic
Public Overridable Sub SetData ( _
	data As Byte(), _
	offset As Integer, _
	length As Integer _
)
Visual C++
public:
virtual void SetData(
	array<unsigned char>^ data, 
	int offset, 
	int length
)

Parameters

data
Type: array<System..::..Byte>[]()[][]

[Missing <param name="data"/> documentation for "M:Lucene.Net.Index.Payload.SetData(System.Byte[],System.Int32,System.Int32)"]

offset
Type: System..::..Int32

[Missing <param name="offset"/> documentation for "M:Lucene.Net.Index.Payload.SetData(System.Byte[],System.Int32,System.Int32)"]

length
Type: System..::..Int32

[Missing <param name="length"/> documentation for "M:Lucene.Net.Index.Payload.SetData(System.Byte[],System.Int32,System.Int32)"]

See Also