Declaration:  GetPropertyAttribute(Itempath, PropertyName, AttributeName: String): String;
Returns the value of the given Item Property Attribute

Source Code:

output(getpropertyattribute(itempath, 'Name', 'Name'));