DisplayManager.TryAcquireTarget(DisplayTarget) 方法

定义

尝试获取 DisplayTarget 的独占所有权。

public:
 virtual DisplayManagerResult TryAcquireTarget(DisplayTarget ^ target) = TryAcquireTarget;
DisplayManagerResult TryAcquireTarget(DisplayTarget const& target);
public DisplayManagerResult TryAcquireTarget(DisplayTarget target);
function tryAcquireTarget(target)
Public Function TryAcquireTarget (target As DisplayTarget) As DisplayManagerResult

参数

target
DisplayTarget

要尝试获取其独占所有权的 DisplayTarget

返回

一个 DisplayManagerResult 值,详细说明获取目标的成功或失败。

适用于