Assembly.GlobalAssemblyCache Eigenschap

Definitie

Let op

The Global Assembly Cache is not supported.

Hiermee wordt een waarde opgehaald die aangeeft of de assembly is geladen vanuit de globale assemblycache (alleen .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

Waarde van eigenschap

alleen .NET Framework: true als de assembly is geladen vanuit de globale assemblycache; anders false.

.NET Core en .NET 5 en hoger: false in alle gevallen.

Implementeringen

Kenmerken

Opmerkingen

Deze eigenschap is gemarkeerd als verouderd vanaf .NET 5 en genereert een waarschuwing over de compilatietijd.

Van toepassing op