WinStudio
IWSIDOCollection interface
Removes all objects from the specified IDO collection and resets the number of entries to 0.
object.Clear( )
Part |
Description |
object | Required. A reference to an IDO collection object. |
The Clear method is normally not used to empty an IDO collection. This method removes a collection's property and binding information in addition to the row items. The ClearEntries method empties the row items without removing other collection information.
Sub Main() 'Clears the secondary collection. ThisForm.CurrentIDOCollection = ThisForm.GetSecondaryIDOCollection(2) ThisForm.CurrentIDOCollection.Clear() End Sub