共用方式為


raw_property_prefixes

C++ Specific

Specifies alternate prefixes for three property methods.

raw_property_prefixes("GetPrefix","PutPrefix","PutRefPrefix")

Parameters

  • GetPrefix
    Prefix to be used for the propget methods.

  • PutPrefix
    Prefix to be used for the propput methods.

  • PutRefPrefix
    Prefix to be used for the propputref methods.

Remarks

By default, low-level propget, propput, and propputref methods are exposed by member functions named with prefixes of get_, put_, and putref_ respectively. These prefixes are compatible with the names used in the header files generated by MIDL.

END C++ Specific

See Also

Reference

#import Attributes (C/C++)

#import Directive (C/C++)