OPC Studio User's Guide and Reference
ResetBinding Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > BindingExtenderCore Class : ResetBinding 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 ResetBinding( _
   ByVal component As IComponent _
) 
'Usage
 
Dim instance As BindingExtenderCore
Dim component As IComponent
 
instance.ResetBinding(component)
public void ResetBinding( 
   IComponent component
)
public:
void ResetBinding( 
   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