StructLayoutAttribute Members
The following tables list the members exposed by the StructLayoutAttribute type.
Public Constructors
Public Fields
![Public Field Public Field](images/bb509903.pubfield(en-us,winembedded.70).gif) |
CharSet |
Indicates how string data fields within a particular class should be marshaled by default — that is, as LPWSTR or as LPSTR. |
![Public Field Public Field](images/bb509903.pubfield(en-us,winembedded.70).gif) |
Pack |
Controls the alignment of the data fields of a particular class or structure in memory. |
![Public Field Public Field](images/bb509903.pubfield(en-us,winembedded.70).gif) |
Size |
Indicates the absolute size of a particular class or structure. |
Public Properties
![Public Property Public Property](images/jj633740.pubproperty(en-us,vs.102).gif) |
Value |
Gets the LayoutKind value that specifies how a particular class or structure is arranged. |
Public Methods
Items in this namespace are for use by Microsoft® Visual Studio®. You should not try to use them in your applications.
See Also
Reference
StructLayoutAttribute Class
System.Runtime.InteropServices Namespace