共用方式為


PerceptionFrameProviderInfo.DeviceKind 屬性

定義

取得或設定 FrameProvider 類別的描述項,例如 「com.contoso.depthcamera.x500」。

public:
 property Platform::String ^ DeviceKind { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DeviceKind();

void DeviceKind(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DeviceKind();

void DeviceKind(winrt::hstring value);
public string DeviceKind { get; set; }
public string DeviceKind { [Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderInfo may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] set; }
var string = perceptionFrameProviderInfo.deviceKind;
perceptionFrameProviderInfo.deviceKind = string;
Public Property DeviceKind As String

屬性值

String

Platform::String

winrt::hstring

FrameProvider 類型的描述項,例如「com.contoso.depthcamera.x500」。

屬性

適用於