UserInformation.SetAccountPictureFromStreamAsync(IRandomAccessStream) UserInformation.SetAccountPictureFromStreamAsync(IRandomAccessStream) UserInformation.SetAccountPictureFromStreamAsync(IRandomAccessStream) UserInformation.SetAccountPictureFromStreamAsync(IRandomAccessStream) UserInformation.SetAccountPictureFromStreamAsync(IRandomAccessStream) Method

Definition

Sets the picture for the user's account using an IRandomAccessStream object.

Important

The UserInformation class is not supported on Windows 10 or later. Use the User class instead. See Remarks in the UserInformation class documentation.

public : static IAsyncOperation<SetAccountPictureResult> SetAccountPictureFromStreamAsync(IRandomAccessStream image)
static IAsyncOperation<SetAccountPictureResult> SetAccountPictureFromStreamAsync(IRandomAccessStream image) const;
public static IAsyncOperation<SetAccountPictureResult> SetAccountPictureFromStreamAsync(IRandomAccessStream image)
Public Shared Function SetAccountPictureFromStreamAsync(image As IRandomAccessStream) As IAsyncOperation(Of SetAccountPictureResult)
Windows.System.UserProfile.UserInformation.setAccountPictureFromStreamAsync(image).done( /* Your success and error handlers */ );

Parameters

Returns

Remarks

Important

The UserInformation class is not supported on Windows 10 or later. Use the User class instead. See Remarks in the UserInformation class documentation.

See also