共用方式為


2.2.35 MEMBERID

A MEMBERID type is a 32-bit value that identifies a data or method member of a type.

This type is declared as follows:

 typedef DISPID MEMBERID;

The MEMBERID of an IDispatch interface MUST be the same as its DISPID.

A type MUST NOT have more than one member with the same MEMBERID, unless the members are accessor methods for the same property. A property accessor methods with the same name and MEMBERID MUST specify different INVOKEKIND constant values, as specified in section 2.2.14.