Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StructLayoutAttribute Fields

StructLayoutAttribute Fields

The StructLayoutAttribute type exposes the following members.

Public field CharSet Indicates whether string data fields within the class should be marshaled as LPWSTR or LPSTR by default.
Public field Pack Controls the alignment of data fields of a class or structure in memory.
Public field Size Indicates the absolute size of the class or structure.

Community Additions

© 2015 Microsoft