Megosztás a következőn keresztül:


ICursor.GetBlob(Int32) Method

Definition

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

[Android.Runtime.Register("getBlob", "(I)[B", "GetGetBlob_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public byte[]? GetBlob (int columnIndex);
[<Android.Runtime.Register("getBlob", "(I)[B", "GetGetBlob_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBlob : int -> byte[]

Parameters

columnIndex
Int32

the zero-based index of the target column.

Returns

Byte[]

the value of that column as a byte array.

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.

Java documentation for android.database.Cursor.getBlob(int).

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