ContactAnnotationStore.FindAnnotationsForContactListAsync(String) Method

Definition

Gets the annotations for the specified ContactList.

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

Parameters

contactListId
String

Platform::String

winrt::hstring

The ID of the ContactList for which to retrieve annotations.

Returns

The list of ContactAnnotation objects.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
contactsSystem

Applies to