ContactAnnotationList.TrySaveAnnotationAsync(ContactAnnotation) Method

Definition

Asynchronously attempts to save the ContactAnnotation to the ContactAnnotationList.

public:
 virtual IAsyncOperation<bool> ^ TrySaveAnnotationAsync(ContactAnnotation ^ annotation) = TrySaveAnnotationAsync;
IAsyncOperation<bool> TrySaveAnnotationAsync(ContactAnnotation const& annotation);
public IAsyncOperation<bool> TrySaveAnnotationAsync(ContactAnnotation annotation);
function trySaveAnnotationAsync(annotation)
Public Function TrySaveAnnotationAsync (annotation As ContactAnnotation) As IAsyncOperation(Of Boolean)

Parameters

annotation
ContactAnnotation

The annotation to save to the list.

Returns

IAsyncOperation<Boolean>

IAsyncOperation<bool>

true if the save was successful; otherwise, false.

Windows requirements

App capabilities
contactsSystem

Applies to