次の方法で共有


OracleBinary.Item[Int32] プロパティ

定義

整数パラメーターindexで示される位置にあるValue プロパティから 1 バイトを取得します。 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 プロパティを確認してください。

適用対象