共用方式為


AggregateContactManager.TrySetPreferredSourceForPictureAsync 方法

定義

選擇哪一個原始連絡人提供匯總的主要顯示圖片。

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

適用於