共用方式為


WebAccountManager.SetWebAccountPictureAsync 方法

定義

以非同步方式設定 Web 帳戶的圖片。

public:
 static IAsyncAction ^ SetWebAccountPictureAsync(WebAccount ^ webAccount, IRandomAccessStream ^ webAccountPicture);
 static IAsyncAction SetWebAccountPictureAsync(WebAccount const& webAccount, IRandomAccessStream const& webAccountPicture);
public static IAsyncAction SetWebAccountPictureAsync(WebAccount webAccount, IRandomAccessStream webAccountPicture);
function setWebAccountPictureAsync(webAccount, webAccountPicture)
Public Shared Function SetWebAccountPictureAsync (webAccount As WebAccount, webAccountPicture As IRandomAccessStream) As IAsyncAction

參數

webAccount
WebAccount

要設定圖片的 Web 帳戶。

webAccountPicture
IRandomAccessStream

要設定的圖片。

傳回

這個方法不會傳回值。

適用於