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).
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 OPCThis is a low level method that may be used to browse part of the server
Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x