Assembly.GlobalAssemblyCache Propriedade

Definição

Atenção

The Global Assembly Cache is not supported.

Recebe um valor que indica se o assembly foi carregado a partir da cache global de assembly (apenas .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

Valor de Propriedade

.NET Framework apenas: true se o assembly foi carregado a partir da cache global assembly; caso contrário, false.

.NET Core e .NET 5 e posteriores: false em todos os casos.

Implementações

Atributos

Observações

Esta propriedade é marcada como obsoleta a partir do .NET 5 e gera um aviso em tempo de compilação.

Aplica-se a