ContactAnnotationStore.FindContactIdsByPhoneNumberAsync(String) Metodo

Definizione

Ottiene un elenco di valori ID in base agli oggetti Contact con un numero di telefono specificato.

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))

Parametri

phoneNumber
String

Platform::String

winrt::hstring

Numero di telefono utilizzato per trovare i valori id contatto.

Restituisce

Elenco di oggetti Contact contenenti il numero di telefono specificato.

Attributi

Requisiti Windows

Funzionalità dell'app
contactsSystem

Si applica a