Share via


IContactInformation.GetDisplayPictureAsync Method

Definition

Gets the display picture of a contact.

public:
 IAsyncOperation<IRandomAccessStream ^> ^ GetDisplayPictureAsync();
IAsyncOperation<IRandomAccessStream> GetDisplayPictureAsync();
public IAsyncOperation<IRandomAccessStream> GetDisplayPictureAsync();
function getDisplayPictureAsync()
Public Function GetDisplayPictureAsync () As IAsyncOperation(Of IRandomAccessStream)

Returns

A stream containing the image data. If you use Asynchronous programming, the result type is IRandomAccessStream, which is the bitmap data for an image provided as a stream.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Applies to

See also