Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Indicates that an interface is compatible with Automation.
Syntax
[oleautomation]
Remarks
The oleautomation C++ attribute has the same functionality as the oleautomation MIDL attribute.
Example
See the examples for defaultvalue and nonextensible for a sample use of oleautomation.
Requirements
| Attribute context | Value |
|---|---|
| Applies to | interface |
| Repeatable | No |
| Required attributes | None |
| Invalid attributes | dispinterface |
For more information about the attribute contexts, see Attribute Contexts.