Description

Replaces McDataNodeRef content from another McDataNodeRefs instance.

Return Type

A Boolean value.   A Boolean with value True.
Failure Returns False.

Failure conditions:
A failure from McDataNodeRefs.Add or McDataNodeRef.Copy method.
pmcdatanodeFromAnother is invalid.

Syntax

object.CopyEx (pmcdatanodeFromAnother, eCopyOptions)

The CopyEx Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodeRefs.
pmcdatanodeFromAnotherRequired. A McDataNodeRefs object. The source McDataNodeRefs collection to be copied.
eCopyOptionsRequired. A mcdatNodeRefCopyOptions enumeration, as described in settings. Specifies the behaviour of the operation such as mcdatNRCO_Current (copy only the current).

Settings

The settings for eCopyOptions are:

ConstantValueDescription
 mcdatNRCO_UnInit0

Not initialized - Perform full copy (mcdatNRCO_FullCopy).

 mcdatNRCO_SelectionClear1

Just clears the Selection.

 mcdatNRCO_Selection2

Just clears and copies the Selection.

 mcdatNRCO_CurrentClear4

Just clears the Current.

 mcdatNRCO_Current2

Just clears and copies the Current.

 mcdatNRCO_FullCopy255

Clears and copies the Current and the Selection.