NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Type.IsExplicitLayout

Gets a value indicating whether the class layout attribute ExplicitLayout is selected for the Type.

[Visual Basic]
Public ReadOnly Property IsExplicitLayout As Boolean
[C#]
public bool IsExplicitLayout {get;}
[C++]
public: __property bool get_IsExplicitLayout();
[JScript]
public function get IsExplicitLayout() : Boolean;

Property Value

true if the class layout attribute ExplicitLayout is selected for the Type; otherwise, false.

Remarks

The LayoutMask is used to select the class layout attributes. The class layout attributes (AutoLayout, LayoutSequential and ExplicitLayout) define how the fields of the class instance are laid out in memory.

Use the ExplicitLayout attribute to specify the offsets at which each field starts, or to specify the overall size and, optionally, the packing size of the objects of the class. The packing size is the empty memory space between fields and must be 1, 2, 4, 8 or 16 bytes.

See Also

Type Class | Type Members | System Namespace | TypeAttributes | IsAutoLayout | IsLayoutSequential