Description

Return the relationship of a specified McDBNode and the McDBNode identified by the McDataNodeRef.

Return Type

A mcDatNodeRefCompare enumeration.   A mcdatNodeRefCompare with the value specifying the relationship of the specified McDBNode and the McDBNode identified by the McDataNodeRef.
See mcdatNodeRefCompare.
Failure conditions:
* See mcdatNodeRefCompare. Attribute CompareNode.VB_HelpID = 151XX Attribute CompareNode.VB_Description = "YYY."

Syntax

object.CompareNode ([pNode], [sFQNodePath])

The CompareNode Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodeRef.
pNodeOptional. A McDBNode object. See SetNode
sFQNodePathOptional. A String value. See SetNode

Remarks

CompareNode may be used to find out whether a McDBNode Modified property has been changed since the McDBNode has been assigned to the McDataNodeRef. This mechanism may be used even after a has been Saved and Reloaded. McDataManager::IsDBNodeSame may be used to compare two McDBNode References.