OPC Studio User's Guide and Reference
Subscribe(Boolean,IEnumerable<PointBindingGroup>) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > PointBinderCore Class > Subscribe Method : Subscribe(Boolean,IEnumerable<PointBindingGroup>) Method
true to subscribe; false to unsubscribe.
The binding groups to be operated upon.
Executes the "Subscribe" operation on all bindings in given binding groups.
Syntax
'Declaration
 
Public Overloads Sub Subscribe( _
   ByVal active As Boolean, _
   ByVal bindingGroups As IEnumerable(Of PointBindingGroup) _
) 
'Usage
 
Dim instance As PointBinderCore
Dim active As Boolean
Dim bindingGroups As IEnumerable(Of PointBindingGroup)
 
instance.Subscribe(active, bindingGroups)

Parameters

active
true to subscribe; false to unsubscribe.
bindingGroups
The binding groups to be operated upon.
Remarks
The "Subscribe" operation subscribes to or unsubscribes from changes of a point. Only bindings of type PointBinding that include PointBindingOperations.Subscribe in their BindingOperations are affected; other bindings are ignored.
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