MDBTreeCtl.MDBNode

Example 

The MDBNode object is an object that is used as a small data cache for individual Module Database objects like PIModule, PIAlias and PIProperty. Each MDBNode object is associated with one MSComCtlLib.Node object instance and a reference to it is stored in the MDBNode object.

When to Use This Class

The typical use for this class is to obtain some rudimentary MDB data without going to server. The embedded tree-view Node object can also be used for various purposes, like child/parent relations etc.

How to Use This Class

Subscribe to MDBTree control events, most of them pass an instance of this class as an event argument. Users can also use the SelectedNodes property of the control to get a list of currently selected tree/MDBNode nodes.

 

Properties

    Checked

    Child

    Children

    Expanded

    Image

    itemName

    Key

    moduleRef

    moduleType

    NextChild

    Parent

    PersistenceString

    Root

    Selected

    Text

    TreeNode

    UniqueID

    Visible

 

Methods

    None.

 

Events

    None.

 

Remarks

This version the control does not keep track of objects that have been passed to the users. The users should not cache instances of MDBNode because the embedded MSComCtlLib.Node can go out of scope for various reasons. You should always have a proper error handling in place when accessing the properties or the Node object.

 

Enabling Operational Intelligence