IConnection.CreateBlob Method

Definition

Constructs an object that implements the Blob interface.

[Android.Runtime.Register("createBlob", "()Ljava/sql/Blob;", "GetCreateBlobHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IBlob? CreateBlob ();
[<Android.Runtime.Register("createBlob", "()Ljava/sql/Blob;", "GetCreateBlobHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateBlob : unit -> Java.Sql.IBlob

Returns

An object that implements the Blob interface

Attributes

Exceptions

if this connection is closed, or there's a problem creating a new blob.

Remarks

Constructs an object that implements the Blob interface. The object returned initially contains no data. The setBinaryStream and setBytes methods of the Blob interface may be used to add data to the Blob.

Added in 1.6.

Java documentation for java.sql.Connection.createBlob().

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