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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.