SQLiteRawStatement.GetColumnBlob(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.
Return the column value of the result row as a blob.
[Android.Runtime.Register("getColumnBlob", "(I)[B", "", ApiSince=35)]
public byte[]? GetColumnBlob (int columnIndex);
[<Android.Runtime.Register("getColumnBlob", "(I)[B", "", ApiSince=35)>]
member this.GetColumnBlob : int -> byte[]
Parameters
- columnIndex
- Int32
The index of a column in the result row. It is zero-based.
Returns
The value of the column as a blob, or null if the column is NULL.
- Attributes
Remarks
Return the column value of the result row as a blob. Column indices start at 0. This throws an exception if column is not in the result. This returns null if the column value is null.
The column value will be converted if it is not of type #SQLITE_DATA_TYPE_BLOB
; see the sqlite documentation for details.
Java documentation for android.database.sqlite.SQLiteRawStatement.getColumnBlob(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.