Nodes Collection Method: AddEx 

Purpose

Adds a new Node object to the Nodes collection, and sets the node’s type.

Syntax

The Add method has the syntax:

Object AddEx(Variant vaRelative,

CTreeAddType Relationship,

String Key,

Variant Text,

Long Image,

Long SelectedImage,

CTreeNodeType Type)

Description

This method is the same as the Nodes collection’s Add method, except that you can pass the type of the new node to the method as additional parameter.