ImageSourceExtensions.GetPlatformImageAsync 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.
Overloads
GetPlatformImageAsync(IImageSource, IMauiContext) | |
GetPlatformImageAsync(IImageSourceService, IImageSource, IMauiContext) |
GetPlatformImageAsync(IImageSource, IMauiContext)
- Source:
- ImageSourceExtensions.cs
- Source:
- ImageSourceExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::Maui::IImageSourceServiceResult<System::Object ^> ^> ^ GetPlatformImageAsync(Microsoft::Maui::IImageSource ^ imageSource, Microsoft::Maui::IMauiContext ^ mauiContext);
public static System.Threading.Tasks.Task<Microsoft.Maui.IImageSourceServiceResult<object>?> GetPlatformImageAsync (this Microsoft.Maui.IImageSource? imageSource, Microsoft.Maui.IMauiContext mauiContext);
static member GetPlatformImageAsync : Microsoft.Maui.IImageSource * Microsoft.Maui.IMauiContext -> System.Threading.Tasks.Task<Microsoft.Maui.IImageSourceServiceResult<obj>>
<Extension()>
Public Function GetPlatformImageAsync (imageSource As IImageSource, mauiContext As IMauiContext) As Task(Of IImageSourceServiceResult(Of Object))
Parameters
- imageSource
- IImageSource
- mauiContext
- IMauiContext
Returns
Applies to
GetPlatformImageAsync(IImageSourceService, IImageSource, IMauiContext)
- Source:
- ImageSourceExtensions.cs
- Source:
- ImageSourceExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::Maui::IImageSourceServiceResult<System::Object ^> ^> ^ GetPlatformImageAsync(Microsoft::Maui::IImageSourceService ^ imageSourceService, Microsoft::Maui::IImageSource ^ imageSource, Microsoft::Maui::IMauiContext ^ mauiContext);
public static System.Threading.Tasks.Task<Microsoft.Maui.IImageSourceServiceResult<object>?> GetPlatformImageAsync (this Microsoft.Maui.IImageSourceService imageSourceService, Microsoft.Maui.IImageSource? imageSource, Microsoft.Maui.IMauiContext mauiContext);
static member GetPlatformImageAsync : Microsoft.Maui.IImageSourceService * Microsoft.Maui.IImageSource * Microsoft.Maui.IMauiContext -> System.Threading.Tasks.Task<Microsoft.Maui.IImageSourceServiceResult<obj>>
<Extension()>
Public Function GetPlatformImageAsync (imageSourceService As IImageSourceService, imageSource As IImageSource, mauiContext As IMauiContext) As Task(Of IImageSourceServiceResult(Of Object))
Parameters
- imageSourceService
- IImageSourceService
- imageSource
- IImageSource
- mauiContext
- IMauiContext
Returns
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.