GetCurrentObjectPropertyBinaryLength method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Returns an integer indicating the length in bytes of the value of a property of the type binary large object (BLOB), such as a graphic image, in the current row of a collection.

Syntax

object.GetCurrentObjectPropertyBinaryLength( string )

  Part   Description
object Required. A reference to an IDO collection object.
string Required. The name of a BLOB property in the collection.

Remarks

The return value is a long integer. If the property does not contain a value, the return value is zero.

Example

Sub Main()
   Dim myCol As IWSIDOCollection
   myCol = ThisForm.PrimaryIDOCollection
   Application.ShowMessage("The length of the object is " & _
      myCol.GetCurrentObjectPropertyBinaryLength("blob_column") & " bytes.")
End Sub
Related topics