ToInt16Array()

The method returns a short[] value of this OracleSparseVector instance.

Declaration

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

Return Value

A short[] representing the whole sparse vector in dense vector form.

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.