IResultSet.GetBytes Method

Definition

Overloads

GetBytes(Int32)

Gets the value of a column specified by column index as a byte array.

GetBytes(String)

Gets the value of a column specified by column name as a byte array.

GetBytes(Int32)

Gets the value of a column specified by column index as a byte array.

[Android.Runtime.Register("getBytes", "(I)[B", "GetGetBytes_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public byte[] GetBytes (int columnIndex);
abstract member GetBytes : int -> byte[]

Parameters

columnIndex
Int32

the index of the column to read.

Returns

Byte[]
Attributes

Exceptions

if a database error happens.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetBytes(String)

Gets the value of a column specified by column name as a byte array.

[Android.Runtime.Register("getBytes", "(Ljava/lang/String;)[B", "GetGetBytes_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public byte[] GetBytes (string columnLabel);
abstract member GetBytes : string -> byte[]

Parameters

columnLabel
String

Returns

Byte[]
Attributes

Exceptions

if a database error happens.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to