Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » Ultra Light - .NET プログラミング » Ultra Light .NET 2.0 API リファレンス » ULDataReader クラス » GetBytes メソッド

 

GetBytes(Int32) メソッド

UL 拡張:指定されたカラムの値を System.Bytes 配列として返します。ULDbType.Binary 型、ULDbType.LongBinary 型、ULDbType.UniqueIdentifier 型のカラムの場合にのみ有効です。

構文
Visual Basic
Public Function GetBytes( _
   ByVal columnID As Integer _
) As Byte()
C#
public byte[] GetBytes(
   int columnID
);
パラメータ
  • columnID   カラムの ID 番号。値は、[0,ULDataReader.FieldCount-1] の範囲内であることが必要です。カーソルの先頭カラムの ID 値は 0 です。

戻り値

System.Bytes 配列として返されるカラム値。

参照