PhoneCallInfo.DisplayName Property

Definition

Gets the display name of the callee.

public:
 property Platform::String ^ DisplayName { Platform::String ^ get(); };
winrt::hstring DisplayName();
public string DisplayName { get; }
var string = phoneCallInfo.displayName;
Public ReadOnly Property DisplayName As String

Property Value

String

Platform::String

winrt::hstring

A string containing the contact name (if available), otherwise the phone number.

Windows requirements

App capabilities
phoneCall

Applies to