UserInformation.SetAccountPicturesFromStreamsAsync メソッド

定義

IRandomAccessStream オブジェクトを使用して、ユーザーのアカウントの画像を設定します。 小さな画像、大きな画像、ビデオの追加をサポートします。

重要

UserInformation クラスは、Windows 10以降ではサポートされていません。 代わりに User クラスを使用してください。 UserInformation クラスのドキュメントの「解説」を参照してください。

public:
 static IAsyncOperation<SetAccountPictureResult> ^ SetAccountPicturesFromStreamsAsync(IRandomAccessStream ^ smallImage, IRandomAccessStream ^ largeImage, IRandomAccessStream ^ video);
 static IAsyncOperation<SetAccountPictureResult> SetAccountPicturesFromStreamsAsync(IRandomAccessStream const& smallImage, IRandomAccessStream const& largeImage, IRandomAccessStream const& video);
/// [Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
 static IAsyncOperation<SetAccountPictureResult> SetAccountPicturesFromStreamsAsync(IRandomAccessStream const& smallImage, IRandomAccessStream const& largeImage, IRandomAccessStream const& video);
public static IAsyncOperation<SetAccountPictureResult> SetAccountPicturesFromStreamsAsync(IRandomAccessStream smallImage, IRandomAccessStream largeImage, IRandomAccessStream video);
[Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
public static IAsyncOperation<SetAccountPictureResult> SetAccountPicturesFromStreamsAsync(IRandomAccessStream smallImage, IRandomAccessStream largeImage, IRandomAccessStream video);
function setAccountPicturesFromStreamsAsync(smallImage, largeImage, video)
Public Shared Function SetAccountPicturesFromStreamsAsync (smallImage As IRandomAccessStream, largeImage As IRandomAccessStream, video As IRandomAccessStream) As IAsyncOperation(Of SetAccountPictureResult)

パラメーター

smallImage
IRandomAccessStream

イメージの小さなバージョン。

largeImage
IRandomAccessStream

イメージの大きなバージョン。

video
IRandomAccessStream

ビデオ。

戻り値

操作の成功または失敗を示す値。

属性

注釈

重要

UserInformation クラスは、Windows 10以降ではサポートされていません。 代わりに User クラスを使用してください。 UserInformation クラスのドキュメントの「解説」を参照してください。

適用対象

こちらもご覧ください