GraphicsCaptureSession.IsCursorCaptureEnabled 属性

定义

获取或设置一个值,该值指定捕获会话是否在捕获的内容中包含游标。

public:
 property bool IsCursorCaptureEnabled { bool get(); void set(bool value); };
bool IsCursorCaptureEnabled();

void IsCursorCaptureEnabled(bool value);
public bool IsCursorCaptureEnabled { get; set; }
var boolean = graphicsCaptureSession.isCursorCaptureEnabled;
graphicsCaptureSession.isCursorCaptureEnabled = boolean;
Public Property IsCursorCaptureEnabled As Boolean

属性值

Boolean

bool

如果应捕获游标,则为 True;否则为 false。

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

适用于