OPCDA.NET-UA
Write(Int32[],Object[],Int32,Int32,Int32[]) Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > UA_Wrapper Namespace > Group Class > Write Method : Write(Int32[],Object[],Int32,Int32,Int32[]) Method

serverHandles
The item handles and the values to be written.
vals
transactionID
cancelId
errors

Glossary Item Box

Write one or more items in a group. The results are returned via the client's IOPCDataCallback connection established through the server's IConnectionPointContainer.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Write( _
   ByVal serverHandles() As Integer, _
   ByVal vals() As Object, _
   ByVal transactionID As Integer, _
   ByRef cancelId As Integer, _
   ByRef errors As Integer() _
) As Integer
C# 
public int Write( 
   int[] serverHandles,
   object[] vals,
   int transactionID,
   out int cancelId,
   out int[] errors
)

Parameters

serverHandles
The item handles and the values to be written.
vals
transactionID
cancelId
errors

Return Value

HRESULT success/error code

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.7.2

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.