ContactAnnotationStore.FindContactIdsByPhoneNumberAsync(String) 方法

定义

获取基于具有指定电话号码的联系人对象的 ID 值列表。

public:
 virtual IAsyncOperation<IVectorView<Platform::String ^> ^> ^ FindContactIdsByPhoneNumberAsync(Platform::String ^ phoneNumber) = FindContactIdsByPhoneNumberAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<winrt::hstring>> FindContactIdsByPhoneNumberAsync(winrt::hstring const& phoneNumber);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<string>> FindContactIdsByPhoneNumberAsync(string phoneNumber);
function findContactIdsByPhoneNumberAsync(phoneNumber)
Public Function FindContactIdsByPhoneNumberAsync (phoneNumber As String) As IAsyncOperation(Of IReadOnlyList(Of String))

参数

phoneNumber
String

Platform::String

winrt::hstring

用于查找联系人 ID 值的电话号码。

返回

包含指定 phoneNumberContact 对象列表。

属性

Windows 要求

应用功能
contactsSystem

适用于