共用方式為


propputref

Specifies a property setting function that uses a reference instead of a value.

[propputref]

Remarks

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

Example

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

Requirements

Attribute Context

Applies to

Method

Repeatable

No

Required attributes

None

Invalid attributes

propget, propput

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

See Also

Reference

propget

propput

Other Resources

IDL Attributes

Method Attributes

Attributes Samples