ViewExtensions.CaptureAsync(IView) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::Maui::Media::IScreenshotResult ^> ^ CaptureAsync(Microsoft::Maui::IView ^ view);
public static System.Threading.Tasks.Task<Microsoft.Maui.Media.IScreenshotResult?> CaptureAsync (this Microsoft.Maui.IView view);
static member CaptureAsync : Microsoft.Maui.IView -> System.Threading.Tasks.Task<Microsoft.Maui.Media.IScreenshotResult>
<Extension()>
Public Function CaptureAsync (view As IView) As Task(Of IScreenshotResult)
參數
- view
- IView