_Assembly.GlobalAssemblyCache 屬性

定義

為 COM 物件提供與版本無關的 GlobalAssemblyCache 屬性之存取權。

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

屬性值

如果組件是從全域組件快取載入,則為 true,否則為 false

備註

此方法適用於從 Unmanaged 程式代碼存取 Managed 類別,不應從 Managed 程式代碼呼叫。

屬性 GlobalAssemblyCache 會取得值,指出元件是否從全域程式集緩存載入。

適用於

另請參閱