Redigera

Dela via


OracleString.Item[Int32] Property

Definition

Gets the single byte from the Value property located at the position indicated by the integer parameter, index.

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

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

If index indicates a position beyond the end of the byte array, an exception is raised.

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

This property is read-only.

Applies to