Name

Automated Directive

Syntax

type Class declaration
automated
   Method and property declarations...
end;

Description

The automated directive denotes a section of a class declaration where subsequent method and property declarations are stored for use in COM automation servers. An automated method declaration is like a public declaration, but the compiler stores additional RTTI for the methods, namely, the type of each parameter and the return type if the method is a function. Chapter 3, describes in detail the format of the RTTI tables that store the method signatures.

Automated declarations are obsolete. You should use type libraries and interfaces instead, which give you much more power and flexibility.

See Also

Class Keyword, Dispinterface Keyword, Interface Keyword, Public Directive
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset