ToNonZeroInt16Array()

The method returns a short[] of the sparse vector values at the non-zero indices.

Declaration

// C#
public short[] ToNonZeroInt16Array();

Return Value

A short[] of the sparse vector values at the non-zero indices.

Expections

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.