August 2003
Intermediate to advanced
928 pages
32h 1m
English
StructLayoutAttribute
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(shortlayoutKind); public StructLayoutAttribute(LayoutKindlayoutKind); // Public Instance Fields public CharSet CharSet; public int Pack; public int Size; // Public Instance Properties public LayoutKind Value{get; } }
System.Object
→
System.Attribute
→
StructLayoutAttribute
Class, Struct