Share via


in (C++)

 

The latest version of this topic can be found at 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

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
Attributes Samples