OPCDA.NET Reference Manual
BGBrowseTree Class
Members  See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace : BGBrowseTree Class

Glossary Item Box

Available in the OPCDA.NET Professional Edition only.
The server is browsed from a backgound thread and the browse result is returned in a TreeNode structure. A TreeView object can be passed to have this class directly display the browse result. 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.
If also a ListView object is defined then the item of the selected branch are shown in the ListView controls. In the TreeView controls are only the branche shown in this case.

The TreeNode Tag property is filled with a BrowseNodeInfo object that contains the information about the branch or item. For item nodes the BrowseElement object is filled with the item information. This includes the values of the properties defined to be read in the browse process.
In the ListView browse mode the TreeNode structure contains only branches. In this case the BrowseNodeInfo object has a BrowseElement object for each item browsed in this branch.

If the items are displayed in a ListView control then the Tag property of each ListViewItem is filled with a BrowseElement object the contains the information about the item.

This class can only be used from classes that derive from System.Windows.Forms.Form.

Object Model

BGBrowseTree Class

Syntax

Visual Basic (Declaration) 
Public Class BGBrowseTree 
C# 
public class BGBrowseTree 

Inheritance Hierarchy

System.Object
   OPCDA.NET.BGBrowseTree

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.