共用方式為


propget

Specifies a property accessor function.

[propget]

Remarks

The propget C++ attribute has the same functionality as the propget MIDL attribute.

Example

See the example for bindable for a sample use of propget.

Requirements

Attribute Context

Applies to

Method

Repeatable

No

Required attributes

None

Invalid attributes

propput, propputref

For more information about the attribute contexts, see Attribute Contexts.

See Also

Reference

propput

propputref

Other Resources

IDL Attributes

Method Attributes

Attributes Samples