cnsGetParent
Returns the path of the parent node.
Synopsis
bool cnsGetParent(string cnsNodePath, string
&cnsParentPath);
Parameters
Parameter | Description |
---|---|
cnsNodePath | The ID path of the node |
cnsParentPath | Receives the ID path of the parent node |
Return value
Returns TRUE if successful or FALSE in case of an error.
Errors
-
Description
This function returns the ID path of the parent of the given node.
main()
{
string parentPath;
cnsGetParent("System1.View1:B.NodeA", parentPath);
DebugN(parentPath);
}
Availability
UI, CTRL