RegisteredProperty Method
Checks if a custom property was already registered for a specified class.
Syntax
Unit: PropertyList
function RegisteredProperty(AInstanceType: TClass; APropName: string): Boolean;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AInstanceType | TClass | The class reference for which the custom property will be checked. |
|
| APropName | string | The name of registered property. |
Returns
Returns true if a custom property of name APropName has been already registered for the class specified by AInstanceType. Returns false if the property was not registered.