The value of the field in Binary, or null. If null, the Reader value, or String value is used. Exactly one of stringValue(), readerValue(), and getBinaryValue() must be set.

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

Syntax

C#
[ObsoleteAttribute("This method must allocate a new byte[] if the AbstractField.GetBinaryOffset() is non-zero or AbstractField.GetBinaryLength() is not the full length of the byte[]. Please use AbstractField.GetBinaryValue() instead, which simply returns the byte[].")]
public override byte[] BinaryValue()
Visual Basic
<ObsoleteAttribute("This method must allocate a new byte[] if the AbstractField.GetBinaryOffset() is non-zero or AbstractField.GetBinaryLength() is not the full length of the byte[]. Please use AbstractField.GetBinaryValue() instead, which simply returns the byte[].")> _
Public Overrides Function BinaryValue As Byte()
Visual C++
[ObsoleteAttribute(L"This method must allocate a new byte[] if the AbstractField.GetBinaryOffset() is non-zero or AbstractField.GetBinaryLength() is not the full length of the byte[]. Please use AbstractField.GetBinaryValue() instead, which simply returns the byte[].")]
public:
virtual array<unsigned char>^ BinaryValue() override

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Documents.Field.BinaryValue"]

Implements

Fieldable..::..BinaryValue()()()()
Fieldable..::..BinaryValue()()()()

See Also