StructLayoutAttribute Class
The StructLayoutAttribute class provides fields and properties you can use to control the physical layout of the data fields of a class or structure.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
[AttributeUsageAttribute]
public sealed class StructLayoutAttribute : Attribute
Remarks
You can apply this attribute to either classes or structures.
Items in this namespace are for use by Microsoft® Visual Studio®. You should not try to use them in your applications.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
StructLayoutAttribute Members
System.Runtime.InteropServices Namespace