DataPackageView.GetImageAsync Method

Definition

Asynchronously gets the image data from this data package.

public:
 System::Threading::Tasks::Task<Microsoft::Maui::Controls::ImageSource ^> ^ GetImageAsync();
public System.Threading.Tasks.Task<Microsoft.Maui.Controls.ImageSource> GetImageAsync();
member this.GetImageAsync : unit -> System.Threading.Tasks.Task<Microsoft.Maui.Controls.ImageSource>
Public Function GetImageAsync () As Task(Of ImageSource)

Returns

A task that returns the ImageSource from the data package.

Applies to