Share via


UserInformation.SetAccountPictureFromStreamAsync(IRandomAccessStream) 메서드

정의

IRandomAccessStream 개체를 사용하여 사용자 계정에 대한 그림을 설정합니다.

중요

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

public:
 static IAsyncOperation<SetAccountPictureResult> ^ SetAccountPictureFromStreamAsync(IRandomAccessStream ^ image);
 static IAsyncOperation<SetAccountPictureResult> SetAccountPictureFromStreamAsync(IRandomAccessStream const& image);
/// [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> SetAccountPictureFromStreamAsync(IRandomAccessStream const& image);
public static IAsyncOperation<SetAccountPictureResult> SetAccountPictureFromStreamAsync(IRandomAccessStream image);
[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> SetAccountPictureFromStreamAsync(IRandomAccessStream image);
function setAccountPictureFromStreamAsync(image)
Public Shared Function SetAccountPictureFromStreamAsync (image As IRandomAccessStream) As IAsyncOperation(Of SetAccountPictureResult)

매개 변수

image
IRandomAccessStream

이미지.

반환

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

특성

설명

중요

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

적용 대상

추가 정보