共用方式為


OracleString.Item[Int32] 屬性

定義

從整數參數index所指示的位置取得Value單一位元組。

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

參數

index
Int32

要取回的位元組位置。

屬性值

位元組位於整數參數所指示的位置。

備註

index 表示位元組陣列末端之外的位置,則會提出例外。

為避免提出例外,請務必在閱讀this前先確認該物業及IsNull該物業。Length

這個屬性是唯讀的。

適用於