Share via


ContactAnnotationList.GetAnnotationAsync(String) Method

Definition

Gets the ContactAnnotation with the specified Id.

public:
 virtual IAsyncOperation<ContactAnnotation ^> ^ GetAnnotationAsync(Platform::String ^ annotationId) = GetAnnotationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ContactAnnotation> GetAnnotationAsync(winrt::hstring const& annotationId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ContactAnnotation> GetAnnotationAsync(string annotationId);
function getAnnotationAsync(annotationId)
Public Function GetAnnotationAsync (annotationId As String) As IAsyncOperation(Of ContactAnnotation)

Parameters

annotationId
String

Platform::String

winrt::hstring

The ContactAnnotation.Id used to identify the ContactAnnotation.

Returns

The ContactAnnotation with the specified ID.

Attributes

Windows requirements

App capabilities
contactsSystem

Applies to