Udostępnij za pośrednictwem


ContactAnnotationStore.FindContactIdsByEmailAsync(String) Method

Definition

Gets a list of Id values based on Contact objects with a specified email address.

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

Parameters

emailAddress
String

Platform::String

winrt::hstring

The email address used to find the contact Id values.

Returns

The list of Contact objects containing the specified emailAddress.

Attributes

Windows requirements

App capabilities
contactsSystem

Applies to