OPCHDA.NET Reference Manual
ShowHDABrowseTree Constructor
See Also  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA.NET Namespace > ShowHDABrowseTree Class : ShowHDABrowseTree Constructor

brw
HDA server browser object to be used. Each HDA browser has a set of filter that are defined when the browser object is created.
tvTree
Forms TreeView control where the browse result is displayed.

Glossary Item Box

Constructor. An object is created for the given OPCHDABrowser and Forms TreeView control. No OPC server access is done in this constructor. The Show() method must be called to browse the server and display the result.
A mouse handler is installed for the specified TreeView control. The OneLevelBrowseMode is selected. Initially only the root level is browsed. The mouse handler browses the branches whenever a branch is selected for the first time.
The default browse ImageList is assigned to the TreeView control and the items are displayed with an icon indicating the read/write access rights of the item.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal brw As OPCHDABrowser, _
   ByVal tvTree As TreeView _
)
C# 
public ShowHDABrowseTree( 
   OPCHDABrowser brw,
   TreeView tvTree
)

Parameters

brw
HDA server browser object to be used. Each HDA browser has a set of filter that are defined when the browser object is created.
tvTree
Forms TreeView control where the browse result is displayed.

Requirements

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

See Also

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