SystemDiagnosticInfo.IsArchitectureSupported(ProcessorArchitecture) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定系统是否支持指定的处理器体系结构。
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
参数
体系结构。
返回
Boolean
bool
如果体系结构受支持,则为 True;否则为 false。
Windows 要求
| 要求 | 说明 |
|---|---|
| 设备系列 |
Windows 10, version 2104 (在 10.0.20348.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v12.0 中引入)
|