Returns the length of the payload at the current term position. This is invalid until {@link #NextPosition()} is called for the first time.

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

Syntax

C#
int GetPayloadLength()
Visual Basic
Function GetPayloadLength As Integer
Visual C++
int GetPayloadLength()

Return Value

length of the current payload in number of bytes

See Also