cnsChangeNodeDisplayNames

Changes the display name of the given node.

Synopsis

bool cnsChangeNodeDisplayNames(string cnsPath, langString displayNames);

Parameters

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

Return value

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

Errors

-

Description

This function changes the display name of the given node.

main()
{
  langString myLang;
  setLangString(myLang,0,"Meine Node A");
  setLangString(myLang,1,"My Node A");
  cnsChangeNodeDisplayNames("System1.View1:NodeA", myLang);
}

Availability

UI, CTRL