Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Designates the parameter that receives the return value of the member.
[retval]
Remarks
The retval C++ attribute has the same functionality as the retval MIDL attribute.
retval must appear on the last argument in a function's declaration.
Example
See the example for bindable for a sample use of retval.
Requirements
Attribute Context
Applies to |
Interface parameter, interface method |
Repeatable |
No |
Required attributes |
out |
Invalid attributes |
in |
For more information about the attribute contexts, see Attribute Contexts.