ToFloatArray()

The method returns a float[] value of the OracleVector instance.

Declaration

// C#
public float[] ToFloatArray();

Return Value

A float[] 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_Float32, then this method implicitly converts the vector values to float types.