cnsChangeNodeName

Changes the ID of the given node.

Synopsis

bool cnsChangeNodeName(string cnsPath, string name);

Parameters

Parameter Description
cnsPath The ID path of the node
name The new ID path of the node

Return value

Returns TRUE if successful or FALSE in case of an error.

Errors

-

Description

The function changes the ID of the given node.

main()
{
  cnsChangeNodeName("System1.View1:Tree.Node1", "NewNode");
}

Availability

UI, CTRL