Share via


IBlob.Length Method

Definition

Returns the number of bytes in the BLOB value designated by this Blob object.

[Android.Runtime.Register("length", "()J", "GetLengthHandler:Java.Sql.IBlobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long Length ();
[<Android.Runtime.Register("length", "()J", "GetLengthHandler:Java.Sql.IBlobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Length : unit -> int64

Returns

length of the BLOB in bytes

Attributes

Exceptions

if an error occurs accessing the Blob.

Remarks

Returns the number of bytes in the BLOB value designated by this Blob object.

Added in 1.2.

Java documentation for java.sql.Blob.length().

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