| description | Learn more about: propget | |
|---|---|---|
| title | propget (C++ COM Attribute) | |
| ms.date | 10/02/2018 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | c9d4a97f-36dd-4b61-8eb0-b1a217598f14 |
Specifies a property accessor function.
[propget]The propget C++ attribute has the same functionality as the propget MIDL attribute.
See the example for bindable for a sample use of propget.
| Attribute context | Value |
|---|---|
| Applies to | Method |
| Repeatable | No |
| Required attributes | None |
| Invalid attributes | propput, propputref |
For more information about the attribute contexts, see Attribute Contexts.