_Type.IsContextful _Type.IsContextful _Type.IsContextful _Type.IsContextful Property

定義

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

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

屬性值

如果在內容中可以裝載 Type,則為 true,否則為 falsetrue if the Type can be hosted in a context; 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.IsContextful屬性會取得值,指出是否Type可以裝載在內容中。The Type.IsContextful property gets a value indicating whether the Type can be hosted in a context.

適用於