Assembly.GlobalAssemblyCache Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.