Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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.