AssemblyName.ProcessorArchitecture 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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參考元件。