Share via


DisplayManager.TryAcquireTarget(DisplayTarget) Method

Definition

Attempts to acquire exclusive ownership of a 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

Parameters

target
DisplayTarget

The DisplayTarget to try to acquire exclusive ownership of.

Returns

A DisplayManagerResult value detailing the success or failure of acquiring the target.

Applies to