OPCDA.NET Reference Manual
Add(String[],Int32[]) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > SyncIOGroup Class > Add Method : Add(String[],Int32[]) Method

names
List of OPC item IDs
err
success code for added items

Glossary Item Box

Add a list of items to the group. The item is also added to the associated OPC group and the item characteristics are stored in the ItemDef object OPCIIinfo This method is provided for the handling of special sitution and is not used in most applications. The read/write function call it internally if the item is not yet added.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Add( _
   ByVal names() As String, _
   ByRef err As Integer() _
) As Integer
C# 
public int Add( 
   string[] names,
   out int[] err
)

Parameters

names
List of OPC item IDs
err
success code for added items

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.