Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Fields

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

Show:
© 2015 Microsoft