AssemblyName.ProcessorArchitecture 屬性

定義

取得或設定值,這個值可識別可執行檔之目標平台的處理器以及每個字組的位元 (Bits-per-word)。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.

適用於

另請參閱