OPC Studio User's Guide and Reference
ResetBindingBag Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > BindingExtenderCore Class : ResetBindingBag Method
The component on which the extender property resides.

The value of this parameter cannot be null (Nothing in Visual Basic).

Removes all bindings defined on a given component.
Syntax
'Declaration
 
Public Sub ResetBindingBag( _
   ByVal component As IComponent _
) 
'Usage
 
Dim instance As BindingExtenderCore
Dim component As IComponent
 
instance.ResetBindingBag(component)
public void ResetBindingBag( 
   IComponent component
)
public:
void ResetBindingBag( 
   IComponent^ component
) 

Parameters

component
The component on which the extender property resides.

The value of this parameter cannot be null (Nothing in Visual Basic).

Remarks

This method is commonly used in conjunction with the ShouldSerialize<PropertyName> method. See also Use Reset and ShouldSerialize to control a property (Windows Forms .NET) for more information.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also