StructLayoutAttributeCF 1.0, ECMA 1.0

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

Use this attribute to control how the members of a class are laid out in memory. See LayoutKind for the possible values you can use with this attribute.

public sealed class StructLayoutAttribute : Attribute {
// Public Constructors
   public StructLayoutAttribute(short layoutKind);
   public StructLayoutAttribute(LayoutKind layoutKind);
// Public Instance Fields
   public CharSet CharSet;
   public int Pack;
   public int Size;
// Public Instance Properties
   public LayoutKind Value{get; }


System.Object System.Attribute StructLayoutAttribute

Valid On

Class, Struct

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