'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function SubscribeMultipleDataChanges( _ ByVal client As IEasyUAClient, _ ByVal monitoredItemArgumentsArray() As UAMonitoredItemArguments, _ ByVal dataChangeCallback As EasyUADataChangeNotificationEventHandler _ ) As Integer()
'Usage
Dim client As IEasyUAClient Dim monitoredItemArgumentsArray() As UAMonitoredItemArguments Dim dataChangeCallback As EasyUADataChangeNotificationEventHandler Dim value() As Integer value = IEasyUAClientExtension.SubscribeMultipleDataChanges(client, monitoredItemArgumentsArray, dataChangeCallback)
[Extension()] [NotNull()] public static int[] SubscribeMultipleDataChanges( IEasyUAClient client, UAMonitoredItemArguments[] monitoredItemArgumentsArray, EasyUADataChangeNotificationEventHandler dataChangeCallback )
[Extension()] [NotNull()] public: static array<int>^ SubscribeMultipleDataChanges( IEasyUAClient^ client, array<UAMonitoredItemArguments^>^ monitoredItemArgumentsArray, EasyUADataChangeNotificationEventHandler^ dataChangeCallback )
Parameters
- client
- The client object that will perform the operation.
- monitoredItemArgumentsArray
- Array of OpcLabs.EasyOpc.UA.OperationModel.UAMonitoredItemArguments. Array of argument objects specifying what and how to subscribe.
- dataChangeCallback
- A callback method to be invoked for each significant monitored item change.
Return Value
Array of System.Int32. The function returns an array of integer handle. Each handle uniquely identifies the monitored item subscription. The indices of elements in the output array are the same as those in the input array, monitoredItemArgumentsArray.