DataPackageView.GetImageAsync 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.
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.