in (C++)

 

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 toInterface parameter, interface method
RepeatableNo
Required attributesNone
Invalid attributesretval

For more information about the attribute contexts, see Attribute Contexts.

IDL Attributes
Parameter Attributes
Method Attributes
defaultvalue
id
out
Attributes Samples

Show: