OPCDA.NET Reference Manual
BrowseTree Constructor(OpcServer,TreeView)
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > BrowseTree Class > BrowseTree Constructor : BrowseTree Constructor(OpcServer,TreeView)

srv
IN: Object of the OPC server
trview

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. Branches and items are shown in the same tree. In the default BrowseModeOneLevel mode only the root branch is browsed initally. Other branches 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. 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 (Declaration) 
Public Function New( _
   ByVal srv As OpcServer, _
   ByVal trview As TreeView _
)
C# 
public BrowseTree( 
   OpcServer srv,
   TreeView trview
)

Parameters

srv
IN: Object of the OPC server
trview

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.