BindingCollection.Clear Method (VB6)

Syntax

oBindingColl.Clear

oBindingColl

Use: Required

Data Type: BindingCollection object

An object reference that returns a BindingCollection object.

Description

Removes all previously added Binding objects from the BindingCollection object.

Programming Tips and Gotchas

It's not necessary to use the Clear method before setting the BindingCollection object to Nothing. If all references to Binding objects within the collection have been set to Nothing when the BindingCollection is set to Nothing, the object is destroyed cleanly.

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.