ClientHandle property
Description | (Read/Write) A unique value associated with each individual item in the group. Its purpose is for the client application to quickly locate the destination when data is returned from the server. The handle is typically an index, and so on. This handle will be returned to the client along with data or status. |
Syntax | ClientHandle As Long |
Example | Private Sub MyOPCGroup_DataChange(ByVal TransactionID As Long, ByVal NumItems As Long, ClientHandles() As Long, ItemValues() As Variant, Qualities() As Long, TimeStamps() As Date) Dim i As Long For i = 1 To NumItems '/* Update display using clienthandle as an index for text box controls txtData(ClientHandles(i)) = ItemValues(i) End If End Sub |
Provide Feedback