XMLDA.NET Reference
Show Method
See Also  Send Feedback
xmldanet Namespace > ShowBrowseTree Class : Show Method

rootName
Name of the root TreeNode. If null then no root node is inserted and the tree structure is displayed as returned from the server. It may start with multiple nodes.

Glossary Item Box

The server is browsed and the branch/item tree structure displayed in the specified TreeView control. If a root name is specified then the server's tree structure is attached to a so named TreeNode. Otherwise the browse tree may start with a TreeNode array. The BrowseElement object returned from the server is copied into the Tag property of the ListView object. It contains the detail information according the XML-DA specs. Browsing includes the item properties dataType and accessRights. The value of these item properties can be accessed in the BrowseElement object. The accessRights value determines the symbol shown in the browse tree.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As ShowBrowseTree
Dim rootName As String
Dim value() As OPCError
 
value = instance.Show(rootName)
C# 
public OPCError[] Show( 
   string rootName
)

Parameters

rootName
Name of the root TreeNode. If null then no root node is inserted and the tree structure is displayed as returned from the server. It may start with multiple nodes.

Return Value

OPCError array with errors returned from the XML-DA server Browse() method. Many error conditions cause an exception to be thrown instead of returned as an error code.

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.