次の方法で共有


WindowExtensions.CaptureAsync(IWindow) メソッド

定義

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::Maui::Media::IScreenshotResult ^> ^ CaptureAsync(Microsoft::Maui::IWindow ^ window);
public static System.Threading.Tasks.Task<Microsoft.Maui.Media.IScreenshotResult?> CaptureAsync (this Microsoft.Maui.IWindow window);
static member CaptureAsync : Microsoft.Maui.IWindow -> System.Threading.Tasks.Task<Microsoft.Maui.Media.IScreenshotResult>
<Extension()>
Public Function CaptureAsync (window As IWindow) As Task(Of IScreenshotResult)

パラメーター

window
IWindow

戻り値

適用対象