共用方式為


OracleBinary.Item[Int32] 屬性

定義

從整數參數index所指示的位置取得Value單一位元組。 若 index 表示位元組陣列末端之外的位置,則會提出例外。

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

參數

index
Int32

要取回的位元組位置。

屬性值

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

備註

為避免產生問題OracleNullValueException,請務必在閱讀this前先檢查該IsNull物業及該Length物業。

適用於