Binding CollectionClear Method VB

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 & 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.

Was this article helpful?

0 0

Post a comment