次の方法で共有


oleautomation

 

The latest version of this topic can be found at 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

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
Attributes Samples