SysHolographicRuntimeRegistration.ActiveRuntime 属性

定义

获取哪个运行时处于活动状态,即系统的全息运行时或其他运行时。 此 API 仅适用于 Windows 操作系统的组件。

public:
 property Platform::String ^ ActiveRuntime { Platform::String ^ get(); };
winrt::hstring ActiveRuntime();
public string ActiveRuntime { get; }
var string = sysHolographicRuntimeRegistration.activeRuntime;
Public ReadOnly Property ActiveRuntime As String

属性值

String

Platform::String

winrt::hstring

活动运行时。

注解

对于 Windows 操作系统组件以外的所有进程,在运行时调用这些 API 将失败。 这些 API 可能会在将来的 Windows 版本中修改或删除。

适用于