Share via


PhoneCall.GetFromId(String) Method

Definition

A static factory method that creates a new PhoneCall object for the specified call identifier.

public:
 static PhoneCall ^ GetFromId(Platform::String ^ callId);
 static PhoneCall GetFromId(winrt::hstring const& callId);
public static PhoneCall GetFromId(string callId);
function getFromId(callId)
Public Shared Function GetFromId (callId As String) As PhoneCall

Parameters

callId
String

Platform::String

winrt::hstring

The call identifier for which to create a corresponding PhoneCall object.

Returns

A new PhoneCall object corresponding to callId, or null if a phone call with the specified call identifier could not be found.

Windows requirements

App capabilities
phoneCall

Applies to

See also