Name - property of the PmgObject object
The name of the Pmg object.
Property access for read only
The value of this property is defined in the "Object name
" configurator of this object.
The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
This property is also functional in Web panels
For Pma object
property can be used for the same purpose.
var oObject = pMe.Items("/Txt0");
var sName = oObject.Name;