Assembly.GlobalAssemblyCache Tulajdonság

Definíció

Figyelemfelhívás

The Global Assembly Cache is not supported.

Beolvas egy értéket, amely jelzi, hogy a szerelvény betöltődött-e a globális szerelvény-gyorsítótárból (csak .NET keretrendszerből).

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

Tulajdonság értéke

csak .NET keretrendszer: true, ha a szerelvény a globális szerelvény-gyorsítótárból lett betöltve; ellenkező esetben false.

.NET Core és .NET 5 és újabb: false minden esetben.

Megvalósítás

Attribútumok

Megjegyzések

Ez a tulajdonság elavultként van megjelölve az 5. .NET kezdve, és fordítási időt jelző figyelmeztetést hoz létre.

A következőre érvényes: