AssemblyName.ProcessorArchitecture 属性

定义

获取或设置一个值,该值标识可执行文件的目标平台的处理器和每字位数。Gets or sets a value that identifies the processor and bits-per-word of the platform targeted by an executable.

public:
 property System::Reflection::ProcessorArchitecture ProcessorArchitecture { System::Reflection::ProcessorArchitecture get(); void set(System::Reflection::ProcessorArchitecture value); };
public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get; set; }
member this.ProcessorArchitecture : System.Reflection.ProcessorArchitecture with get, set
Public Property ProcessorArchitecture As ProcessorArchitecture

属性值

枚举值之一,标识可执行文件的目标平台的处理器和每字位数。One of the enumeration values that identifies the processor and bits-per-word of the platform targeted by an executable.

注解

.NET Framework 4.NET Framework 4开始,此属性始终返回引用程序集 ProcessorArchitecture.NoneBeginning with the .NET Framework 4.NET Framework 4, this property always returns ProcessorArchitecture.None for reference assemblies.

适用于

另请参阅