Assembly.GlobalAssemblyCache プロパティ

定義

注意事項

The Global Assembly Cache is not supported.

アセンブリがグローバル アセンブリ キャッシュから読み込まれたかどうかを示す値を取得します (.NET Framework のみ)。

public:
 virtual property bool GlobalAssemblyCache { bool get(); };
public:
 property bool GlobalAssemblyCache { bool get(); };
[System.Obsolete("The Global Assembly Cache is not supported.", DiagnosticId="SYSLIB0005", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public virtual bool GlobalAssemblyCache { get; }
public virtual bool GlobalAssemblyCache { get; }
public bool GlobalAssemblyCache { get; }
[<System.Obsolete("The Global Assembly Cache is not supported.", DiagnosticId="SYSLIB0005", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.GlobalAssemblyCache : bool
member this.GlobalAssemblyCache : bool
Public Overridable ReadOnly Property GlobalAssemblyCache As Boolean
Public ReadOnly Property GlobalAssemblyCache As Boolean

プロパティ値

.NET Framework のみ: アセンブリがグローバル アセンブリ キャッシュから読み込まれた場合は true。それ以外の場合は false

.NET Core および .NET 5 以降: すべてのケースで false

実装

属性

注釈

このプロパティは、.NET 5 以降では古い形式としてマークされ、コンパイル時の警告が生成されます。

適用対象