in (C++)
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
Indicates that a parameter is to be passed from the calling procedure to the called procedure.
[in]
The in C++ attribute has the same functionality as the in MIDL attribute.
See bindable for an example of how to use in.
Attribute Context
| Applies to | Interface parameter, interface method |
| Repeatable | No |
| Required attributes | None |
| Invalid attributes | retval |
For more information about the attribute contexts, see Attribute Contexts.
IDL Attributes
Parameter Attributes
Method Attributes
defaultvalue
id
out
Attributes Samples
Show: