Assembly.GlobalAssemblyCache プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
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 以降では廃止とマークされ、コンパイル時の警告が生成されます。