DisplayDevice.CreateScanoutSource(DisplayTarget) 方法

定义

创建 DisplaySource 对象,该对象提供直接扫描或显示到 DisplayTarget 对象或当前连接到此源的对象的功能。

public:
 virtual DisplaySource ^ CreateScanoutSource(DisplayTarget ^ target) = CreateScanoutSource;
DisplaySource CreateScanoutSource(DisplayTarget const& target);
public DisplaySource CreateScanoutSource(DisplayTarget target);
function createScanoutSource(target)
Public Function CreateScanoutSource (target As DisplayTarget) As DisplaySource

参数

target
DisplayTarget

要为其创建显示源的活动 DisplayTarget

返回

DisplaySource 值。

注解

创建 DisplaySource 对象会隐式获取源的所有权,并阻止其他人在屏幕上显示内容。

适用于