OPCDA.NET Reference Manual
GetItemList(String,Int32) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > ItemListLoader Class > GetItemList Method : GetItemList(String,Int32) Method

listName
Name of the list to be returned.
clientHandleBase
Client Handle assigned to the first item in the list. Following items have increasing handle values assigned.
Note: The client handle is returned in server data change callbacks and is used by the client to associate the values with the items.

Glossary Item Box

Available in the OPCDA.NET Professional Edition only.
Returns the items defined in the list with the defined name. The XML file must have previously loaded with one of the LOAD methods.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetItemList( _
   ByVal listName As String, _
   ByVal clientHandleBase As Integer _
) As OPCItemDef()
C# 
public OPCItemDef[] GetItemList( 
   string listName,
   int clientHandleBase
)

Parameters

listName
Name of the list to be returned.
clientHandleBase
Client Handle assigned to the first item in the list. Following items have increasing handle values assigned.
Note: The client handle is returned in server data change callbacks and is used by the client to associate the values with the items.

Return Value

Array with OPCItemDef objects for the Items in the list. Returns null (Nothing) if the list name is not found.

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.