A TreeNode structure is created, starting from the specifeid branch.
The BrowseElement object returned from the server is copied into the Tag property
of the TreeNode object. It contains the detail information according the XML-DA specs.
Syntax
Parameters
- startPath
- ItemPath of the start branch
- startName
- ItemName of the start branch
- OneLevelOnly
- if true, no recursive browsing
- propertyNames
- names of item properties to be returned
- allProperties
- if true, the server ignores the propertyNames argument
and returns all item properties.
- propertyValues
- if true, the server returns the current values of the
requested properties
- err
- OPCError array with errors returned from the XML-DA server
in the Browse() method. Many error conditions cause an exception to be thrown
instead of returned as an error code.
Return Value
TreeNode structure with all
Requirements
Target Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family
>
See Also