User.GetPictureAsync(UserPictureSize) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a user's picture asynchronously.
public:
virtual IAsyncOperation<IRandomAccessStreamReference ^> ^ GetPictureAsync(UserPictureSize desiredSize) = GetPictureAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IRandomAccessStreamReference> GetPictureAsync(UserPictureSize const& desiredSize);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IRandomAccessStreamReference> GetPictureAsync(UserPictureSize desiredSize);
function getPictureAsync(desiredSize)
Public Function GetPictureAsync (desiredSize As UserPictureSize) As IAsyncOperation(Of IRandomAccessStreamReference)
Parameters
- desiredSize
- UserPictureSize
The desired size of the user's picture to return.
Returns
When this method completes, it returns the user's picture or null if there is none.
- Attributes
Windows requirements
App capabilities |
userAccountInformation
|
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor