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 以降では古いものとしてマークされ、コンパイル時の警告が生成されます。

適用対象