PhoneCall.GetFromId(String) 方法

定义

一种静态工厂方法,该方法为指定的呼叫标识符创建新的 PhoneCall 对象。

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

参数

callId
String

Platform::String

winrt::hstring

要为其创建相应的 PhoneCall 对象的呼叫标识符。

返回

对应于 callId 的新 PhoneCall 对象,或者null找不到具有指定呼叫标识符的电话呼叫。

Windows 要求

应用功能
phoneCall

适用于

另请参阅