Creates a new payload with the the given array as 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 Payload(
	byte[] data
)
Visual Basic
Public Sub New ( _
	data As Byte() _
)
Visual C++
public:
Payload(
	array<unsigned char>^ data
)

Parameters

data
Type: array<System..::..Byte>[]()[][]
the data of this payload

See Also