Skip to main content
Previous sectionNext section

PlaceAfter

Specifies the order of this method, relative to other methods, in the routine that is generated for the class.

Usage

To specify that the class compiler should place this method after the listed methods in the routine it creates for the class, use the following syntax:

Method name(formal_spec) As returnclass [ PlaceAfter = methodlist ] 
{    //implementation } 
Copy code to clipboard

Where methodlist is either a single method name or a comma-separated list of method names, enclosed in parentheses.

Details

This keyword specifies that the class compiler should place this method after the listed methods in the routine it creates for the class. This keyword is for rare cases where you need to control the order in which the class compiler generates code for your method.

Default

If you omit this keyword, the class compiler uses its normal logic to determine the order of the methods in the routine that it generates.

See Also