InAttribute

InAttribute CF 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



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net