OClass - getProperty()

This method retrieves the given property instance from the class.

Retrieving Properties

In cases where you want to operate on properties rather than the values they contain, you can use this method to retrieve OProperty instances for the given property on the class.

Syntax

OProperty OClass().getProperty(String name)
ArgumentTypeDescription
nameStringDefines the property you want

Return Value

This method returns an OProperty instance for the requested property on the class.