StructLayoutAttribute Fields

The StructLayoutAttribute type exposes the following members.

  Name Description
Public field Supported by the XNA Framework Supported by Portable Class Library CharSet Indicates whether string data fields within the class should be marshaled as LPWSTR or LPSTR by default.
Public field Supported by Portable Class Library Pack Controls the alignment of data fields of a class or structure in memory.
Public field Supported by the XNA Framework Supported by Portable Class Library Size Indicates the absolute size of the class or structure.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft