InAttribute

InAttributeCF 1.0, ECMA 1.0

System.Runtime.InteropServices (mscorlib.dll)sealed class

This attribute is attached to a parameter to marshal it as an in parameter. By default, parameters are marshaled based on their modifiers, so this attribute is only necessary if you want to override the defaults. Parameters with no modifiers are marshaled as [In]. Parameters with the ref modifier are marshaled as [In, Out]. Parameters with the out modifier are marshaled as [Out].

public sealed class InAttribute : Attribute {
// Public Constructors
   public InAttribute( );
}

Hierarchy

System.Object System.Attribute InAttribute

Valid On

Parameter



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System