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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for