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