Rename method: Node class
Syntax
Rename(NodeName)
Description
The Rename method renames the node object executing the method without changing any other properties. The parameter NodeName takes a string value. The node specified by NodeName must be a new node. You receive an error if the node already exists.
Note:
The Rename method does not rename the node in a user node component. Your application needs to do that.
Returns
A number; 0 if method is successful.
Example
&MYNODE = &MYTREE.FindNode("10900", "");
&MYNODE.Rename("10200");