Mono Class Library: System.Runtime.InteropServices Namespace

System.Runtime.InteropServices.LayoutKind Enumeration

Indicates the physical memory layout of objects exported to unmanaged code.
[System.Runtime.InteropServices.ComVisible(true)]
public enum LayoutKind

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
Auto Indicates that the appropriate layout of members of an object is automatically chosen.
Note: The layout in this case is implementation defined.
Explicit

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 System.Runtime.InteropServices.FieldOffsetAttribute to indicate the position of that field within the type.

Sequential Indicates that object members are laid out sequentially, in the order in which they appear in the object's type definition.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0