GetObjectPropertyBinaryLength method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

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

Syntax

object.GetObjectPropertyBinaryLength( PropertyName, RowIndex )

  Part   Description
object Required. The name of a IDO collection object.
PropertyName Required. A string representing the name of a BLOB property in the collection.
RowIndex Required. A long integer expressing a zero-based row index number 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.GetObjectPropertyBinaryLength("blob_column", 2) & " bytes.")
End Sub