PerceptionFrameProviderInfo.DisplayName Property

Definition

Gets or sets the friendly name for the device, for example, "Contoso Depth Camera x500".

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

void DisplayName(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 DisplayName();

void DisplayName(winrt::hstring value);
public string DisplayName { get; set; }
public string DisplayName { [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.displayName;
perceptionFrameProviderInfo.displayName = string;
Public Property DisplayName As String

Property Value

String

Platform::String

winrt::hstring

The friendly name for the device.

Attributes

Applies to