共用方式為


IWebViewControl.CaptureSelectedContentToDataPackageAsync 方法

定義

以非同步方式取得 DataPackage ,其中包含 IWebViewControl 內選取的內容。

public:
 IAsyncOperation<DataPackage ^> ^ CaptureSelectedContentToDataPackageAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<DataPackage> CaptureSelectedContentToDataPackageAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<DataPackage> CaptureSelectedContentToDataPackageAsync();
function captureSelectedContentToDataPackageAsync()
Public Function CaptureSelectedContentToDataPackageAsync () As IAsyncOperation(Of DataPackage)

傳回

當此方法完成時,它會以 DataPackage的形式傳回選取的內容。

屬性

適用於