Item
このプロパティでは、索引を使用してOracleBinary構造の特定のbyteを取得します。
宣言
// C#
public byte this[int index] {get;}プロパティ値
指定された索引のバイト
例外
OracleNullValueException - 現行インスタンスにはNULL値があります。
例
// C#
using System;
using Oracle.DataAccess.Types;
class ItemSample
{
static void Main(string[] args)
{
OracleBinary binary = new OracleBinary(new byte[] {1,2,3,4});
// Prints the value 4
Console.WriteLine(binary[binary.Length - 1]);
}
}