Mono Class Library: Overview

System.Runtime.InteropServices.StructLayoutAttribute: Members

The members of System.Runtime.InteropServices.StructLayoutAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Constructs and initializes a new instance of the System.Runtime.InteropServices.StructLayoutAttribute class with the specified value.
Constructs and initializes a new instance of the System.Runtime.InteropServices.StructLayoutAttribute class with the specified System.Runtime.InteropServices.LayoutKind value.

Public Fields

CharSetCharSet. A System.Runtime.InteropServices.CharSet value that indicates the character set in which strings of an object are marshaled.
Packint. A int that indicates the packing alignment used with the LayoutKind.Sequential layout.
Sizeint. A int that indicates the size of the memory block to be allocated for an instance of the type qualified by the current System.Runtime.InteropServices.StructLayoutAttribute.

Public Properties

[read-only]
ValueLayoutKind. Gets the System.Runtime.InteropServices.LayoutKind value that specifies how the target object is arranged.