ContactStore.GetContactAsync(String) Metodo

Definizione

Recupera un oggetto Contact che rappresenta il contatto con il valore ID specificato.

public:
 virtual IAsyncOperation<Contact ^> ^ GetContactAsync(Platform::String ^ contactId) = GetContactAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<Contact> GetContactAsync(winrt::hstring const& contactId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<Contact> GetContactAsync(string contactId);
function getContactAsync(contactId)
Public Function GetContactAsync (contactId As String) As IAsyncOperation(Of Contact)

Parametri

contactId
String

Platform::String

winrt::hstring

ID del contatto da recuperare.

Restituisce

Operazione asincrona che restituisce un oggetto Contact al completamento corretto. Se si usa la programmazione asincrona, il tipo di risultato è un singolo oggetto Contact .

Attributi

Requisiti Windows

Funzionalità dell'app
contactsSystem

Si applica a

Vedi anche