OPC Studio User's Guide and Reference
SetBinding Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > BindingExtenderCore Class : SetBinding Method
The component on which the extender property resides.
The single binding to be defined on the component, or null to remove all bindings.
A single binding on the component. Represents the "Binding" extender property.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
Public Sub SetBinding( _
   ByVal component As IComponent, _
   ByVal value As IAbstractBinding _
) 
'Usage
 
Dim instance As BindingExtenderCore
Dim component As IComponent
Dim value As IAbstractBinding
 
instance.SetBinding(component, value)
[Browsable(false)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public void SetBinding( 
   IComponent component,
   IAbstractBinding value
)
[Browsable(false)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public:
void SetBinding( 
   IComponent^ component,
   IAbstractBinding^ value
) 

Parameters

component
The component on which the extender property resides.
value
The single binding to be defined on the component, or null to remove all bindings.
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