QuickOPC User's Guide and Reference
Subscribe(Boolean,PointBindingGroup) Method



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

Parameters

active
true to subscribe; false to unsubscribe.
bindingGroup
The binding group 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