次の方法で共有


propputref

 

The latest version of this topic can be found at propputref.

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

Syntax

  
[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

IDL Attributes
Method Attributes
propget
propput
Attributes Samples