ICursor.GetBlob(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.