Apache Lucene.Net 2.4.0 Class Library API

Payload Members

Payload overview

Public Instance Constructors

Payload Overloaded. Initializes a new instance of the Payload class.

Public Instance Methods

ByteAt Returns the byte at the given index.
Clone Clones this payload by creating a copy of the underlying byte array.
CopyTo Copies the payload data to a byte array.
Equals 
GetData Returns a reference to the underlying byte array that holds this payloads data.
GetHashCode 
GetOffset Returns the offset in the underlying byte array
GetType (inherited from Object)Gets the Type of the current instance.
Length Returns the length of the payload data.
SetDataOverloaded. Sets this payloads data. A reference to the passed-in array is held, i. e. no copy is made.
ToByteArray Allocates a new byte array, copies the payload data into it and returns it.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Protected Internal Instance Fields

datathe byte array containing the payload data
lengththe length of the payload data
offsetthe offset within the byte array

See Also

Payload Class | Lucene.Net.Index Namespace