Description

Adds McDataNodeRef instances from a McDBNodes or McDataNodeRefs to this Selection.

Return Type

A Long value.   The count of McDataNodeRef instances added.

Failure Returns 0.

Failure conditions:
* No path references were exposed in the given collection.
* No McDBNodes references could be accessed.

Syntax

object.AddNodes (pDBNodesOrDataNodeRefs, [sCommonParentPath])

The AddNodes Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodeRefs.
pDBNodesOrDataNodeRefsRequired. An Object object. A McDBNodes references that exposes the instances to be added.
sCommonParentPathOptional. A String value. When specified the McDataNodeRef will be created from the path and the GlobalID exposed in the given McDBNodes collection without querying the McDBNode.