ToByteArray()
The method returns a byte[] value of this OracleVector instance.
Declaration
// C# public byte[] ToByteArray();
Return Value
A byte[]
Exceptions
OracleNullValueException - The current instance has a null value.
ObjectDisposedException - The object is already disposed.
Remarks
If the vector's numeric format is not OracleDbType.Vector_Binary, then this method implicitly converts the vector values to byte types.
This is the only valid To*Array() method for Binary format vectors. Binary sparse vectors are returned as dense vector byte arrays.