OPCHDA.NET Reference Manual
ItemName Method
See Also  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA.NET Namespace > ShowHDABrowseTreeList Class : ItemName Method

node
Branch/Leaf to get the item for

Glossary Item Box

Get the full name of the item/branch in the specified branch.

This method is typically used to get the name of the node selected in a treeView.

C# sample:

TreeNode sel = e.Node ;
string selItem = ItemTree.ItemName( sel ) ;

VB sample:
Dim sel As TreeNode
sel = e.Node
Dim selItem As String
selItem = ItemTree.ItemName(sel)

Syntax

Visual Basic (Declaration) 
Public Function ItemName( _
   ByVal node As TreeNode _
) As String
C# 
public string ItemName( 
   TreeNode node
)

Parameters

node
Branch/Leaf to get the item for

Return Value

full item/branch name

Requirements

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

See Also

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