Category
Modifiers
Syntax
__dispid(constant int expression)
Description
A member function that has been declared in the __automated section of a class can include an optional __dispid(constant int expression) directive. The directive must be declared after the closing parenthesis of the parameter list.
The constant int expression gives the Automation dispatch ID of the member function or property. If a dispid directive is not used, the compiler automatically picks a number one larger than the largest dispatch ID used by any member function or property in the class and its base classes.
Specifying an already-used dispatch ID in a dispid directive causes a compile-time error.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|