IWebViewControl.CapturePreviewToStreamAsync(IRandomAccessStream) 方法

定义

创建当前 IWebViewControl 内容的图像,并将其写入指定的流。

public:
 IAsyncAction ^ CapturePreviewToStreamAsync(IRandomAccessStream ^ stream);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction CapturePreviewToStreamAsync(IRandomAccessStream const& stream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction CapturePreviewToStreamAsync(IRandomAccessStream stream);
function capturePreviewToStreamAsync(stream)
Public Function CapturePreviewToStreamAsync (stream As IRandomAccessStream) As IAsyncAction

参数

stream
IRandomAccessStream

要向其写入映像的流。

返回

等待捕获操作的异步操作。

属性

适用于