property()

Project:This information applies to InstallScript projects.

The property() keyword is used to declare a property and its get and/or put procedures in an object script with the following syntax:

Property() Keyword Declarations

Access

Declaration

Read only

property(get) <return variable type> <property name> ( <argument variable type(s)> );

Write only

property(put) <return variable type> <property name> ( <argument variable type(s)> );

Read/write

property(get,put) <return variable type> <property name> ( <argument variable type(s)> );

For example:

property(get,put) STRING MyProperty ( NUMBER );

If you add a property to the object project by using the Add New Property dialog box, a property declaration is automatically placed in the object script.