AssemblyName.ProcessorArchitecture 属性

定义

注意

AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.

获取或设置一个值,该值标识可执行文件的目标平台的处理器和每字位数。

public:
 property System::Reflection::ProcessorArchitecture ProcessorArchitecture { System::Reflection::ProcessorArchitecture get(); void set(System::Reflection::ProcessorArchitecture value); };
public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get; set; }
[System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get; set; }
member this.ProcessorArchitecture : System.Reflection.ProcessorArchitecture with get, set
[<System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.ProcessorArchitecture : System.Reflection.ProcessorArchitecture with get, set
Public Property ProcessorArchitecture As ProcessorArchitecture

属性值

枚举值之一,标识可执行文件的目标平台的处理器和每字位数。

属性

注解

从 .NET Framework 4 开始,此属性始终ProcessorArchitecture.None返回引用程序集。

适用于

另请参阅