cnsDeleteTree

Allows to delete a tree, sub-tree or node.

Synopsis

bool cnsDeleteTree(string cnsPath);

Parameters

Parameter Description
cnsPath The ID path of the element that shall be deleted

Return value

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

Errors

-

Description

This function allows to delete a tree, sub-tree or node with all sub-elements.

main()
{
  cnsDeleteTree("System1.View1:Tree_A);
}

Availability

UI, CTRL