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 specified branch is browsed. Otherwise the server is browsed recursively from the defined start 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( _ ByVal startBranch As String, _ ByRef tree As TreeNode() _ ) As Integer |
C# | |
---|---|
public int Browse( string startBranch, out TreeNode[] tree ) |
Parameters
- startBranch
- IN: name of the branch to be browsed
- 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