ContactQueryOptions.DesiredOperations Property

Definition

Gets or sets the desired annotation operations a contact must have to match the query.

public:
 property ContactAnnotationOperations DesiredOperations { ContactAnnotationOperations get(); void set(ContactAnnotationOperations value); };
ContactAnnotationOperations DesiredOperations();

void DesiredOperations(ContactAnnotationOperations value);
public ContactAnnotationOperations DesiredOperations { get; set; }
var contactAnnotationOperations = contactQueryOptions.desiredOperations;
contactQueryOptions.desiredOperations = contactAnnotationOperations;
Public Property DesiredOperations As ContactAnnotationOperations

Property Value

The desired annotation operations a contact must have to match the query.

Windows requirements

App capabilities
contactsSystem

Remarks

You can specify multiple operations by using the OR operator to combine values from the ContactAnnotationOperations enum. The query results will return contacts that contain one or more of the desired operations.

Applies to