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 中引入)

适用于