getProperty

getProperty(propName: String): Property;

The getProperty method of the Class class returns a reference to the property with the name specified in the propName parameter from the class of the receiver.

Use the findProperty method if you want to find the property in the class of the receiver or any of its superclasses.

As a subschema copy of the class is used if it exists, call the getPropertyInHTree method if you want to use the property from the root definition.