StoredContact.GetDisplayPictureAsync Method

Definition

Gets the display picture of a stored contact.

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

Returns

IAsyncOperation<IRandomAccessStream>

An asynchronous operation that returns an IRandomAccessStream object on successful completion. If you use Asynchronous programming, the result type is IRandomAccessStream. This is the image source file as a bitmap stream.

Implements

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Applies to

See also