public enum LayoutKind
Object
ValueType
Enum
LayoutKind
mscorlib
RuntimeInfrastructure
Indicates the physical memory layout of objects exported to unmanaged code.
System.Runtime.InteropServices Namespace
LayoutKind Fields
LayoutKind.Auto Field
LayoutKind.Explicit Field
LayoutKind.Sequential Field
LayoutKind.value__ Field
Auto = 3;
Indicates that the appropriate layout of members of an object is automatically chosen. [Note: The layout in this case is implementation defined.]
System.Runtime.InteropServices.LayoutKind Enum, System.Runtime.InteropServices Namespace
Explicit = 2;
Indicates that the precise position of each member of an object is explicitly controlled in unmanaged memory. Each member of the exported class or structure is required to use FieldOffsetAttribute to indicate the position of that field within the type.[Note: For an example that uses FieldOffsetAttribute, see the StructLayoutAttribute class overview.]
System.Runtime.InteropServices.LayoutKind Enum, System.Runtime.InteropServices Namespace
Sequential = 0;
Indicates that object members are laid out sequentially, in the order in which they appear in the object's type definition.
System.Runtime.InteropServices.LayoutKind Enum, System.Runtime.InteropServices Namespace
value__;
System.Runtime.InteropServices.LayoutKind Enum, System.Runtime.InteropServices Namespace