WinStudio
IWSIDOCollection interface
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.
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. |
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.GetObjectPropertyBinaryLength("blob_column", 2) & " bytes.")
End Sub
GetCurrentObjectPropertyBinaryLength Method