共用方式為


AssemblyName.ProcessorArchitecture 屬性

定義

警告

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

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

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參考元件。

適用於

另請參閱