RemoteSystem.Kind 属性

定义

获取给定远程系统设备类型的字符串表示形式。

public:
 property Platform::String ^ Kind { Platform::String ^ get(); };
winrt::hstring Kind();
public string Kind { get; }
var string = remoteSystem.kind;
Public ReadOnly Property Kind As String

属性值

String

Platform::String

winrt::hstring

远程系统的设备类型。

Windows 要求

应用功能
remoteSystem

注解

此属性不应用于做出有关已连接设备的功能或体验决策。 相反,应使用 GetCapabilitySupportedAsync 方法检查设备功能。 Kind 属性旨在向开发人员提供有关所连接到的设备类型的信息,以便他们可以在 UI 中显示此信息。

适用于