_Type.IsExplicitLayout _Type.IsExplicitLayout _Type.IsExplicitLayout _Type.IsExplicitLayout Property

定義

為 COM 物件提供與版本無關的 IsExplicitLayout 屬性之存取權。Provides COM objects with version-independent access to the IsExplicitLayout property.

public:
 property bool IsExplicitLayout { bool get(); };
public bool IsExplicitLayout { get; }
member this.IsExplicitLayout : bool
Public ReadOnly Property IsExplicitLayout As Boolean

屬性值

如果為 Type 選取類別配置屬性 true,則為 ExplicitLayout,否則為 falsetrue if the class layout attribute ExplicitLayout is selected for the Type; otherwise, false.

備註

這個屬性從 unmanaged 程式碼,是用於存取 managed 類別,並不會呼叫從 managed 程式碼。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.IsExplicitLayout屬性會取得值,指出是否類別配置屬性ExplicitLayout選取TypeThe Type.IsExplicitLayout property gets a value indicating whether the class layout attribute ExplicitLayout is selected for the Type.

適用於