EasyUA Reference
BrowseTree Constructor(Session,TreeView)
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > BrowseTree Class > BrowseTree Constructor : BrowseTree Constructor(Session,TreeView)

uasession
Session for the UA server access
trview
The browse result is displayed in this TreeView control.

Glossary Item Box

This constructor configures the object for browsing the server into a Forms TreeNode structure and displaying the browse result in a Form TreeView control. All node classes are shown in the tree. In the default BrowseModeOneLevel mode only the root node is browsed initally. Other nodes are browsed when they are the first time selected in the TreeView. The BrowseModeOneLevel property can be set to false before calling the Browse method to force browsing the whole server initally. This is not recommended in typical situations, it may take long in large servers. The browse result is shown alphabetically sorted. The DoNotSort property can be set to true before calling the Browse method to disable sorting.

Syntax

Visual Basic (Usage)Copy Code
Dim uasession As Session
Dim trview As TreeView
 
Dim instance As New BrowseTree(uasession, trview)
C# 
public BrowseTree( 
   Session uasession,
   TreeView trview
)

Parameters

uasession
Session for the UA server access
trview
The browse result is displayed in this TreeView control.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.