共用方式為


2.2.35.1 Reserved MEMBERIDs

The following MEMBERIDs are defined by the OLE Automation Protocol. These MEMBERIDs are reserved and are meant to provide common, well-known MEMBERIDs that are associated with methods that have similar semantics across all automation server implementations. When an automation server needs to provide MEMBERID references that have specific semantics that map to one from the set below, they MUST use the MEMBERIDs specified in the following table.

Constant/value

Description

MEMBERID_NIL

-1

This MUST designate the containing type in a context where it is also possible to refer to elements in its method or data member tables.

MEMBERID_DEFAULTINST

-2

This MUST designate an appobject coclass in a context where it is also possible to refer to members of its default nonsource interface (as specified in 2.2.49.8).