OPCDA.NET-UA
LookupItemIDs Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > UA_Wrapper Namespace > Server Class : LookupItemIDs Method

itemID
IN: The ItemID for which the caller wants to lookup the list of properties
propertyIDs
IN: array with DWORDIDs for the requested properties. These IDs were returned by QueryAvailableProperties
propertyItems
OUT: array of ItemPropertyItemID classes containing the ItemIds and error information

Glossary Item Box

Return a list of ITEMIDs (if available) for each of the passed ID codes. These indicate the ITEMID which could be added to an OPCGroup and used for more efficient access to the data corresponding to the Item Properties.

Syntax

Visual Basic (Declaration) 
Public Function LookupItemIDs( _
   ByVal itemID As String, _
   ByVal propertyIDs() As Integer, _
   ByRef propertyItems As OPCDA.NET.ItemPropertyItemID() _
) As Integer
C# 
public int LookupItemIDs( 
   string itemID,
   int[] propertyIDs,
   out OPCDA.NET.ItemPropertyItemID[] propertyItems
)

Parameters

itemID
IN: The ItemID for which the caller wants to lookup the list of properties
propertyIDs
IN: array with DWORDIDs for the requested properties. These IDs were returned by QueryAvailableProperties
propertyItems
OUT: array of ItemPropertyItemID classes containing the ItemIds and error information

Return Value

HRESULT error/success 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.