共用方式為


SystemDiagnosticInfo.IsArchitectureSupported(ProcessorArchitecture) 方法

定義

判斷系統是否支援指定的處理器架構。

public:
 static bool IsArchitectureSupported(ProcessorArchitecture type);
 static bool IsArchitectureSupported(ProcessorArchitecture const& type);
public static bool IsArchitectureSupported(ProcessorArchitecture type);
function isArchitectureSupported(type)
Public Shared Function IsArchitectureSupported (type As ProcessorArchitecture) As Boolean

參數

type
ProcessorArchitecture

架構。

傳回

Boolean

bool

如果支援架構,則為 True,否則為 false。

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v12.0 引進)

適用於