Visual Basic (Declaration) | |
---|---|
Public Overloads Function Write( _ ByVal arrHSrv() As Integer, _ ByVal arrVal() As Object, _ ByVal transactionID As Integer, _ ByRef cancelID As Integer, _ ByRef arrErr As Integer() _ ) As Integer |
C# | |
---|---|
public int Write( int[] arrHSrv, object[] arrVal, int transactionID, out int cancelID, out int[] arrErr ) |
Parameters
- arrHSrv
- IN: List of server items handles for the items to be written
- arrVal
- IN: List of values to be written. The value data types do not match the requested or canonical item datatype but must be 'convertible' to the canonical type.
- transactionID
- IN: The Client generated transaction ID. This is included in the 'completion' information provided to the OnWriteComplete.
- cancelID
- OUT: Place to return a Server generated ID to be used in case the operation needs to be canceled.
- arrErr
- OUT: Array of errors for each item (See OPC spec)