DisplayManager.TryAcquireTarget(DisplayTarget) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.