WebViewControl.CaptureSelectedContentToDataPackageAsync WebViewControl.CaptureSelectedContentToDataPackageAsync WebViewControl.CaptureSelectedContentToDataPackageAsync WebViewControl.CaptureSelectedContentToDataPackageAsync WebViewControl.CaptureSelectedContentToDataPackageAsync Method

Definition

Asynchronously gets a DataPackage that contains the selected content within the control.

For more info, see Windows.Web.UI.IWebViewControl

public : IAsyncOperation<DataPackage> CaptureSelectedContentToDataPackageAsync()
IAsyncOperation<DataPackage> CaptureSelectedContentToDataPackageAsync() const;
public IAsyncOperation<DataPackage> CaptureSelectedContentToDataPackageAsync()
Public Function CaptureSelectedContentToDataPackageAsync() As IAsyncOperation(Of DataPackage)
Windows.Web.UI.Interop.WebViewControl.captureSelectedContentToDataPackageAsync().done( /* Your success and error handlers */ );

Returns

When this method completes, it returns the selected content as a DataPackage.