Rediger

Del via


OracleBinary.Item[Int32] Property

Definition

Gets the single byte from the Value property located at the position indicated by the integer parameter, index. If index indicates a position beyond the end of the byte array, an exception is raised.

public:
 property System::Byte default[int] { System::Byte get(int index); };
public byte this[int index] { get; }
member this.Item(int) : byte
Default Public ReadOnly Property Item(index As Integer) As Byte

Parameters

index
Int32

The position of the byte to be retrieved.

Property Value

The byte located at the position indicated by the integer parameter.

Remarks

To avoid raising an OracleNullValueException, always check the IsNull property and the Length property before reading this.

Applies to