Apache Lucene.Net 2.4.0 Class Library API

Payload Methods

The methods of the Payload class are listed below. For a complete list of Payload class members, see the Payload Members topic.

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.

See Also

Payload Class | Lucene.Net.Index Namespace