UserInformation.SetAccountPicturesAsync | setAccountPicturesAsync method

This topic has not yet been rated - Rate this topic

Sets the pictures for the user's account using an IStorageFile object. Supports adding a small image, large image, and video.

Syntax


Windows.System.UserProfile.UserInformation.setAccountPicturesAsync(smallImage, largeImage, video).done( /* Your success and error handlers */ );

Parameters

smallImage

Type: IStorageFile

A small version of the image.

largeImage

Type: IStorageFile

A large version of the image.

video

Type: IStorageFile

A video.

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

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.winmd

See also

UserInformation

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.