AggregateContactManager.TrySetPreferredSourceForPictureAsync 方法

定义

选择哪个原始联系人为聚合提供main显示图片。

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)

参数

aggregateContact
Contact

要设置图片的聚合联系人。

rawContact
Contact

为聚合提供图片的原始联系人。

返回

如果成功,则为 true;否则为 false

Windows 要求

应用功能
contactsSystem

适用于