ToInt16Array()
The method returns a short[]
value of the OracleVector
instance.
Declaration
// C# public short[] ToInt16Array();
Return Value
A short[]
representing the vector
Exceptions
InvalidCastException - The vector numeric format is binary.
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_Int8
, then this method implicitly converts the vector values to short types.