Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

StructLayoutAttribute Fields

The fields of the StructLayoutAttribute class are listed here. For a complete list of StructLayoutAttribute class members, see the StructLayoutAttribute Members topic.

Public Fields

public fieldCharSet Indicates how string data fields within the class should be marshaled as LPWSTR or LPSTR by default.
public fieldPack Controls the alignment of data fields of a class or structure in memory.
public fieldSize

Supported by the .NET Compact Framework.

Indicates the absolute size of the class or structure.

See Also

StructLayoutAttribute Class | System.Runtime.InteropServices Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.