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

要设置的图片。

返回

此方法不返回值。

适用于