共用方式為


propput

Specifies a property setting function.

[propput]

Remarks

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

Example

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

Requirements

Attribute Context

Applies to

Method

Repeatable

No

Required attributes

None

Invalid attributes

propget, propputref

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

See Also

Concepts

IDL Attributes

Method Attributes

propget

propputref

ATL Samples