Description

Adds a new McDBNode to the Children collection of the Current.

Return Type

A McDBNode object.   The newly created McDBNode.

Syntax

object.AddNew (sMcDBTypeName, [sName], [sDisplayName])

The AddNew Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodes.
sMcDBTypeNameRequired. A String value. The McDBType.Name of the new McDBNode to be created.
sNameOptional. A String value. The name of the new folder
sDisplayNameOptional. A String value. An identifier specifying a particular McDataSource implementation.

Remarks

The selection is ignored.
"New " will be used when sName is Not given.
DataManager.CheckNodeName() will be called and the sName may be changed.
DataManager.MakeTypeExist() will be called to assure that the needed McDBType will exist.