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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro