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

Concepts

IDL Attributes

Method Attributes

propput

propputref

ATL Samples