Item[long]

This property obtains the element in an OracleVector at the specified index.

Declaration

// C#
public object this [long index] {get;}

Parameters

index

The zero-based index of the element to retrieve from the OracleVector

Property Value

A short, float, double, or bool object at the specified index depending on the vector numeric format.

Exceptions

OracleNullValueException - The current instance has a null value.

ArgumentOutOfRangeException - Index is less than zero or index is equal to or greater than vector dimensions.

ObjectDisposedException - The object is already disposed.

Remarks

The property return type varies based on the vector numeric format.

Numeric Format Return Type

OracleDbType.Vector_Int8

short

OracleDbType.Vector_Float32

float

OracleDbType.Vector_Float64

double

OracleDbType.Vector_Binary

bool