Mono Class Library: System.Type Overview | Members

System.Type.IsAutoLayout Property

Gets a bool value indicating whether the type layout attribute System.Reflection.TypeAttributes.AutoLayout is specified for the Type.

public bool IsAutoLayout { get; }

Value

true if the type layout attribute System.Reflection.TypeAttributes.AutoLayout is specified for the current Type; otherwise, false.

Remarks

This property is read-only.

If the current instance represents a generic type, this property applies to the definition of the type. If the current instance represents an unassigned type parameter of a generic type or method, this property always returns false.

Note:

The System.Reflection.TypeAttributes.AutoLayout attribute specifies that the system selects the layout the objects of the type. Types marked with this attribute indicate that the system will choose the appropriate way to lay out the type; any layout information that might have been specified is ignored.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0