oleautomation

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.

See also

IDL Attributes
Interface Attributes