OPCHDA.NET Reference Manual
Browse(TreeNode[]) Method
See Also  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA.NET Namespace > BrowseHDATree Class > Browse Method : Browse(TreeNode[]) Method

tree
OUT TreeNode structure with all branches and items

Glossary Item Box

Browse branches/leafs from the root and build a TreeNode structure. The HDA browser assigned to this object is used. The browsing is done with the filters defined for this HDA browser.
If the OneLevelBrowseMode property is true, then only the root branch is browsed. Otherwise the server is browsed recursively from the root branch.
The created TreeNode structure contains on each level all the items and sub-branches. Use the methods isItem() and isBranch() to determine what a specific TreeNode object represents.
The TreeNode Tag property contains the fully qualified name of this node (item or branch).

Syntax

Visual Basic (Declaration) 
Public Overloads Function Browse( _
   ByRef tree As TreeNode() _
) As Integer
C# 
public int Browse( 
   out TreeNode[] tree
)

Parameters

tree
OUT TreeNode structure with all branches and items

Return Value

HRESULTS error/succes code as defined by OPC

Remarks

This is a low level method that may be used to browse part of the server

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.