IScreenshot.CaptureAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Capture une capture d’écran de l’écran actif de l’application en cours d’exécution.
public:
System::Threading::Tasks::Task<Microsoft::Maui::Media::IScreenshotResult ^> ^ CaptureAsync();
public System.Threading.Tasks.Task<Microsoft.Maui.Media.IScreenshotResult> CaptureAsync();
abstract member CaptureAsync : unit -> System.Threading.Tasks.Task<Microsoft.Maui.Media.IScreenshotResult>
Public Function CaptureAsync () As Task(Of IScreenshotResult)
Retours
Un instance de avec des IScreenshotResult informations sur la capture d’écran capturée.