This topic has not yet been rated - Rate this topic

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.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ