Export (0) Print
Expand All

StructLayoutAttribute Fields

The StructLayoutAttribute type exposes the following members.

  Name Description
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.
© 2014 Microsoft