StructLayoutAttribute Fields

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubfieldCharSet

Indicates whether string data fields within the class should be marshaled as LPWSTR or LPSTR by default.

System_CAPS_pubfieldPack

Controls the alignment of data fields of a class or structure in memory.

System_CAPS_pubfieldSize

Indicates the absolute size of the class or structure.

Return to top
Show: