共用方式為


default

Indicates that the interface or dispinterface represents the default programmability interface. Intended for use by macro languages.

Allowed on

Coclass member.

Flags

IMPLTYPEFLAG\_FDEFAULT

Remarks

A coclass can have two default members at most. One represents the source interface or dispinterface, and the other represents the sink interface or dispinterface. If the defaultattribute is not specified for any member of the coclass or cotype, the first source and sink members that do not have the restricted attribute will be treated as the defaults.

Attribute Descriptions