Assembly.GlobalAssemblyCache Propriété

Définition

Attention

The Global Assembly Cache is not supported.

obtient une valeur indiquant si l’assembly a été chargé à partir du Global Assembly Cache (.NET Framework uniquement).

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

Valeur de propriété

Boolean

.NET Framework uniquement : true si l’assembly a été chargé à partir de la Global Assembly Cache ; sinon, false .

.NET Core et .NET 5 et versions ultérieures : false dans tous les cas.

Implémente

Attributs

Remarques

Cette propriété est marquée comme obsolète à partir de .NET 5 et génère un avertissement au moment de la compilation.

S’applique à