The GetByteArray method returns an Byte[] value containing the value of the NBElement.

C# | Visual Basic | Visual C++ | F# |
public byte[] GetByteArray()
Public Function GetByteArray As Byte()
public: array<unsigned char>^ GetByteArray()
member GetByteArray : unit -> byte[]

The current element's value.

Exception | Condition |
---|---|
NBRecoverableException | Thrown if the value of the element is not of type Byte[]. |