Share via


UserInformation.SetAccountPicturesAsync 메서드

정의

IStorageFile 개체를 사용하여 사용자 계정의 그림을 설정합니다. 작은 이미지, 큰 이미지 및 비디오 추가를 지원합니다.

중요

UserInformation 클래스는 Windows 10 이상에서 지원되지 않습니다. 대신 User 클래스를 사용합니다. UserInformation 클래스 설명서의 설명을 참조하세요.

public:
 static IAsyncOperation<SetAccountPictureResult> ^ SetAccountPicturesAsync(IStorageFile ^ smallImage, IStorageFile ^ largeImage, IStorageFile ^ video);
 static IAsyncOperation<SetAccountPictureResult> SetAccountPicturesAsync(IStorageFile const& smallImage, IStorageFile const& largeImage, IStorageFile 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> SetAccountPicturesAsync(IStorageFile const& smallImage, IStorageFile const& largeImage, IStorageFile const& video);
public static IAsyncOperation<SetAccountPictureResult> SetAccountPicturesAsync(IStorageFile smallImage, IStorageFile largeImage, IStorageFile 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> SetAccountPicturesAsync(IStorageFile smallImage, IStorageFile largeImage, IStorageFile video);
function setAccountPicturesAsync(smallImage, largeImage, video)
Public Shared Function SetAccountPicturesAsync (smallImage As IStorageFile, largeImage As IStorageFile, video As IStorageFile) As IAsyncOperation(Of SetAccountPictureResult)

매개 변수

smallImage
IStorageFile

이미지의 작은 버전입니다.

largeImage
IStorageFile

이미지의 큰 버전입니다.

video
IStorageFile

비디오.

반환

작업의 성공 또는 실패를 나타내는 값입니다.

특성

설명

중요

UserInformation 클래스는 Windows 10 이상에서 지원되지 않습니다. 대신 User 클래스를 사용합니다. UserInformation 클래스 설명서의 설명을 참조하세요.

적용 대상

추가 정보