Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

retval

Designates the parameter that receives the return value of the member.

[retval]

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.

See the example for bindable for a sample use of retval.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.