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

Concepts

Visual C++ Samples

Other Resources

IDL Attributes

Method Attributes