Воспорльзуйтесь функцией:
PHP код:
str getTreeNodeProperty(TreeNode _tn, str _sPropertyName)
{
str sValue;
str sProperties = _tn.AOTgetProperties();
int iPropertyBegin;
int iValueBegin;
int iValueEnd;
iPropertyBegin = strscan(sProperties, " "+_sPropertyName,1, strlen(sProperties) );
iValueBegin = strscan(sProperties,"#",iPropertyBegin,strlen(sProperties) );
iValueEnd = strscan(sProperties,"\n",iValueBegin,strlen(sProperties));
sValue = substr(sProperties,iValueBegin+1,iValueEnd-iValueBegin-1);
return sValue;
}
Получите:
PHP код:
info(getTreeNodeProperty(treeNode,'Name'));