Sets the picture for the user's account using an IRandomAccessStream object.
Syntax
Windows.System.UserProfile.UserInformation.setAccountPictureFromStreamAsync(image).done( /* Your success and error handlers */ );
Parameters
- image
-
Type: IRandomAccessStream
The image.
Return value
Type: IAsyncOperation<SetAccountPictureResult>
A value that indicates the success or failure of the operation.
Remarks
To see how to use this method, check out our code sample.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012