Name
Dispid Directive
Syntax
Dispinterface declaration
Method declaration
; dispidInteger constant
;Property declaration
dispidInteger constant
; ... end;
Description
By default,
Delphi assigns dispatch identifiers to methods and properties in a
dispatch interface declaration, or you can specify them explicitly
with the dispid
directive. You cannot specify the
index of a dispid
that is already used in the
enclosing dispinterface
.
Example
See the Dispinterface
keyword for examples.
See Also
Dispinterface Keyword, IDispatch Interface |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.