in (C++)
Indicates that a parameter is to be passed from the calling procedure to the called procedure.
Syntax
[in]
Remarks
The in C++ attribute has the same functionality as the in MIDL attribute.
Example
See bindable for an example of how to use in.
Requirements
Attribute context | Value |
---|---|
Applies to | Interface parameter, interface method |
Repeatable | No |
Required attributes | None |
Invalid attributes | retval |
For more information about the attribute contexts, see Attribute Contexts.
See also
IDL Attributes
Parameter Attributes
Method Attributes
defaultvalue
id
out
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for