-api-id | -api-type |
---|---|
M:Windows.System.UserProfile.UserInformation.SetAccountPictureFromStreamAsync(Windows.Storage.Streams.IRandomAccessStream) |
winrt method |
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.
The image.
A value that indicates the success or failure of the operation.
Important
The UserInformation class is not supported on Windows 10 or later. Use the User class instead. See Remarks in the UserInformation class documentation.