QuickOPC User's Guide and Reference
GetBinding Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > BindingExtenderCore Class : GetBinding Method
The component on which the extender property resides.
A single binding on the component. Represents the "Binding" extender property.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<CanBeNullAttribute()>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
Public Function GetBinding( _
   ByVal component As IComponent _
) As IAbstractBinding
'Usage
 
Dim instance As BindingExtenderCore
Dim component As IComponent
Dim value As IAbstractBinding
 
value = instance.GetBinding(component)
[Browsable(false)]
[CanBeNull()]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public IAbstractBinding GetBinding( 
   IComponent component
)
[Browsable(false)]
[CanBeNull()]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public:
IAbstractBinding^ GetBinding( 
   IComponent^ component
) 

Parameters

component
The component on which the extender property resides.

Return Value

The binding defined for the component, if there is precisely one binding; null otherwise.
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