See Also: InAttribute Members
System.Object
System.Attribute
System.Runtime.InteropServices.InAttribute
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
Note: The System.Runtime.InteropServices.InAttribute and System.Runtime.InteropServices.OutAttribute are not required. In the absence of explicit settings, the system assumes that all arguments passed by reference are passed in/out and that all non-reference parameters are in. The only exception is the System.Text.StringBuilder class, which is always assumed to be in/out. The System.Runtime.InteropServices.InAttribute and System.Runtime.InteropServices.OutAttribute are particularly useful when applied to formatted types that cannot be block-copied. Since these types require copying during marshaling, you can use System.Runtime.InteropServices.InAttribute and System.Runtime.InteropServices.OutAttribute to eliminate the generation of unnecessary copies.Compilers are required to not preserve this type in metadata as a custom attribute. Instead, compilers are required to emit it directly in the file format, as described in Partition II of the CLI Specification. Metadata consumers, such as the Reflection API, are required to retrieve this data from the file format and return it as if it were a custom attribute.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0