Version

Clear Method (DataBindingCollection)

Clears the DataBindingCollection of all previously held ScheduleDataBinding instances.
Syntax
'Declaration
 
Public Sub Clear() 
public void Clear()
Remarks

Removing individual ScheduleDataBinding objects is not supported. Instead, developers wishing to override the set of default ScheduleDataBindings present in the DataBindingCollection as initialized by their data provider base class must explicitly call Clear and begin adding (registering) their own ScheduleDataBinding objects in their own order.

Clear may also be called between data binding operations to reset the DataBindingCollection to it's initially empty state, instead of having to recreate another collection object.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also