XMLDA.NET Reference
ShowBrowseTreeList Constructor
See Also  Send Feedback
xmldanet Namespace > ShowBrowseTreeList Class : ShowBrowseTreeList Constructor

srv
URL/ProgID of the server to be browsed
tvBranches
TreeView control to display the branches
lvItems
ListView control to display the items of the selected branch.

Glossary Item Box

initializes the control objects for later use and installs an event handler for the TreeView control that displys the item of the selected node in the ListView control. The URL is copied into the proxy handler to force the server access to this URL. The BrowseElement object returned from the server for each item is copied into the Tag property of the ListView object. It contains the detail information according the XML-DA specs. The Tag property of TreeNode object contains a tlNodeInfo object with the BrowseElement object of the branch and a ListViewItem array with the items in this branch.

Syntax

Visual Basic (Usage)Copy Code
Dim srv As XmlServer
Dim tvBranches As TreeView
Dim lvItems As ListView
 
Dim instance As New ShowBrowseTreeList(srv, tvBranches, lvItems)
C# 
public ShowBrowseTreeList( 
   XmlServer srv,
   TreeView tvBranches,
   ListView lvItems
)

Parameters

srv
URL/ProgID of the server to be browsed
tvBranches
TreeView control to display the branches
lvItems
ListView control to display the items of the selected branch.

Requirements

Target Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

>

See Also

© 2002-2012 Advosol Inc. All Rights Reserved.