OPCHDA.NET-UA
GetItemID Method
See Also  Send Feedback
OpcHDaNetUaOption.Net4 Assembly > hdaUAwrapper Namespace > HDABrowser Class : GetItemID Method

Node
An item name from the Enum set returned by GetEnum as an OPCHDA_LEAF or OPCHDA_ITEMID
ItemID
A pointer to the string which contains the fully qualified ItemID.

Glossary Item Box

This function provides a way to get a fully qualified item identification. This is required since the browsing functions return only the components or tokens that make up an ItemID and do not return the delimiters used to separate those tokens.

Syntax

Visual Basic (Declaration) 
Public Function GetItemID( _
   ByVal Node As String, _
   ByRef ItemID As String _
) As Integer
C# 
public int GetItemID( 
   string Node,
   out string ItemID
)

Parameters

Node
An item name from the Enum set returned by GetEnum as an OPCHDA_LEAF or OPCHDA_ITEMID
ItemID
A pointer to the string which contains the fully qualified ItemID.

Return Value

S_OK or S_FAIL

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.