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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.