AggregateContactManager.TrySetPreferredSourceForPictureAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Chooses which of the raw contacts provides the main display picture for the aggregate.
public:
virtual IAsyncOperation<bool> ^ TrySetPreferredSourceForPictureAsync(Contact ^ aggregateContact, Contact ^ rawContact) = TrySetPreferredSourceForPictureAsync;
IAsyncOperation<bool> TrySetPreferredSourceForPictureAsync(Contact const& aggregateContact, Contact const& rawContact);
public IAsyncOperation<bool> TrySetPreferredSourceForPictureAsync(Contact aggregateContact, Contact rawContact);
function trySetPreferredSourceForPictureAsync(aggregateContact, rawContact)
Public Function TrySetPreferredSourceForPictureAsync (aggregateContact As Contact, rawContact As Contact) As IAsyncOperation(Of Boolean)
Parameters
- aggregateContact
- Contact
The aggregate contact on which to set the picture.
- rawContact
- Contact
The raw contact that provides the picture for the aggregate.
Returns
true
if successful; otherwise, false
.
Windows requirements
App capabilities |
contactsSystem
|