AssemblyBuilder.GlobalAssemblyCache 属性

定义

注意

The Global Assembly Cache is not supported.

获取一个值,该值指示该程序集是否已从全局程序集缓存中加载。Gets a value that indicates whether the assembly was loaded from the global assembly cache.

public:
 virtual property bool GlobalAssemblyCache { bool get(); };
[System.Obsolete("The Global Assembly Cache is not supported.", DiagnosticId="SYSLIB0005", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public override bool GlobalAssemblyCache { get; }
public override 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 Overrides ReadOnly Property GlobalAssemblyCache As Boolean

属性值

Boolean

总是为 falseAlways false.

属性

注解

AssemblyBuilder 对象始终表示动态程序集,因此永远不会从全局程序集缓存中加载。AssemblyBuilder objects always represent dynamic assemblies, and therefore are never loaded from the global assembly cache.

适用于