StructLayoutAttribute.Value Property

 

Gets the LayoutKind value that specifies how the class or structure is arranged.

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

public LayoutKind Value { get; }

Property Value

Type: System.Runtime.InteropServices.LayoutKind

One of the enumeration values that specifies how the class or structure is arranged.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: