Share via


PhoneCallOrigin.DisplayName Property

Definition

Gets or sets the display name for the PhoneCallOriginManager object.

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("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
winrt::hstring DisplayName();

void DisplayName(winrt::hstring value);
public string DisplayName { get; set; }
public string DisplayName { [Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] get; [Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] set; }
var string = phoneCallOrigin.displayName;
phoneCallOrigin.displayName = string;
Public Property DisplayName As String

Property Value

String

Platform::String

winrt::hstring

The display name for the call origin manager.

Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v2.0)
App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to