หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Specifies a property accessor function.
Syntax
[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 | Value |
|---|---|
| Applies to | Method |
| Repeatable | No |
| Required attributes | None |
| Invalid attributes | propput, propputref |
For more information about the attribute contexts, see Attribute Contexts.