Assembly.GlobalAssemblyCache Propriété

Définition

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

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

Valeur de propriété

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

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

Implémente

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 à