PhoneCallManager.ShowPhoneCallUI(String, String) Method

Definition

Launches the built-in phone call UI with the specified phone number and display name.

public:
 static void ShowPhoneCallUI(Platform::String ^ phoneNumber, Platform::String ^ displayName);
 static void ShowPhoneCallUI(winrt::hstring const& phoneNumber, winrt::hstring const& displayName);
public static void ShowPhoneCallUI(string phoneNumber, string displayName);
function showPhoneCallUI(phoneNumber, displayName)
Public Shared Sub ShowPhoneCallUI (phoneNumber As String, displayName As String)

Parameters

phoneNumber
String

Platform::String

winrt::hstring

A phone number.

displayName
String

Platform::String

winrt::hstring

A display name.

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Applies to