Dil

AbstractCursor.GetBlob(Int32) Method

Definition

Returns the value of the requested column as a byte array.

[Android.Runtime.Register("getBlob", "(I)[B", "GetGetBlob_IHandler")]
public virtual byte[]? GetBlob(int column);
[<Android.Runtime.Register("getBlob", "(I)[B", "GetGetBlob_IHandler")>]
abstract member GetBlob : int -> byte[]
override this.GetBlob : int -> byte[]

Parameters

column
Int32

the zero-based index of the target column.

Returns

Byte[]

the value of that column as a byte array.

Implements

Attributes

Remarks

Returns the value of the requested column as a byte array.

The result and whether this method throws an exception when the column value is null or the column type is not a blob type is implementation-defined.

Android reference for android.database.AbstractCursor.getBlob.

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