WinStudio
IWSIDOCollection interface
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.
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. |
The return value is a long integer. If the property does not contain a value, the return value is zero.
Sub Main()
Dim myCol As IWSIDOCollection
myCol = ThisForm.PrimaryIDOCollection
Application.ShowMessage("The length of the object is " & _
myCol.GetCurrentObjectPropertyBinaryLength("blob_column") & " bytes.")
End Sub
GetObjectPropertyBinaryLength Method