RuntimeInfrastructure mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ] 1.0.5000.0 2.0.0.0 4.0.0.0 All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe. System.Attribute System.AttributeUsage(System.AttributeTargets.Parameter, Inherited=false) System.Runtime.InteropServices.ComVisible(true)

You can apply this attribute to parameters.

The is optional. The attribute is supported for COM interop and platform invoke only. In the absence of explicit settings, the interop marshaler assumes rules based on the parameter type, whether the parameter is passed by reference or by value, and whether the type is blittable or non-blittable. For example, the class is always assumed to be In/Out and an array of strings passed by value is assumed to be In.

You cannot apply the to a parameter modified with the C#-styled out keyword. To avoid confusing the In keyword in Visual Basic with the , minus Attribute, use the <[In]> form with brackets around the attribute.

Combining the and is particularly useful when applied to arrays and formatted, non-blittable types. Callers see the changes a callee makes to these types only when you apply both attributes. Since these types require copying during marshaling, you can use and to reduce unnecessary copies.

For more information on the effect of on marshaling behavior, see [<topic://cpcondirectionalattributes>].

Indicates that data should be marshaled from the caller to the callee, but not back to the caller.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  To be added.

  Initializes a new instance of the class.

  0
0