Returns an array of bytes for the first (or only) field that has the name specified as the method parameter. This method will return
CopyC#
null
if no binary fields with the specified name are available. There may be non-binary fields with the same name.

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

Syntax

C#
public byte[] GetBinaryValue(
	string name
)
Visual Basic
Public Function GetBinaryValue ( _
	name As String _
) As Byte()
Visual C++
public:
array<unsigned char>^ GetBinaryValue(
	String^ name
)

Parameters

name
Type: System..::..String
the name of the field.

Return Value

a
CopyC#
byte[]
containing the binary field value or
CopyC#
null

See Also