OPC Studio User's Guide and Reference
GetBindingProvider Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > CompositeBindingProvider Class : GetBindingProvider Method
The type of binding for which a binding provider should be returned.

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

Gets a binding provider from this composite that provides a specified binding type.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Function GetBindingProvider( _
   ByVal bindingType As Type _
) As IBindingProvider
'Usage
 
Dim instance As CompositeBindingProvider
Dim bindingType As Type
Dim value As IBindingProvider
 
value = instance.GetBindingProvider(bindingType)
[NotNull()]
public IBindingProvider GetBindingProvider( 
   Type bindingType
)
[NotNull()]
public:
IBindingProvider^ GetBindingProvider( 
   Type^ bindingType
) 

Parameters

bindingType
The type of binding for which a binding provider should be returned.

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

Return Value

The binding provider that provides binding of a specified type.

This method never returns null (Nothing in Visual Basic).

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