.NET Framework Class Library
StructLayoutAttribute Fields
The StructLayoutAttribute type exposes the following members.
Fields
| Name | Description | |
|---|---|---|
|
CharSet | Indicates whether string data fields within the class should be marshaled as LPWSTR or LPSTR by default. |
|
Pack | Controls the alignment of data fields of a class or structure in memory. |
|
Size | Indicates the absolute size of the class or structure. |
See Also