DisplayState.ConnectTarget 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.
Overloads
ConnectTarget(DisplayTarget) |
Connects the specified target, and returns the resulting path. |
ConnectTarget(DisplayTarget, DisplayView) |
Connects the specified target to an existing logical clone group, and returns the resulting path. |
ConnectTarget(DisplayTarget)
Connects the specified target, and returns the resulting path.
public:
virtual DisplayPath ^ ConnectTarget(DisplayTarget ^ target) = ConnectTarget;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("ConnectTarget")]
DisplayPath ConnectTarget(DisplayTarget const& target);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("ConnectTarget")]
public DisplayPath ConnectTarget(DisplayTarget target);
function connectTarget(target)
Public Function ConnectTarget (target As DisplayTarget) As DisplayPath
Parameters
- target
- DisplayTarget
A DisplayTarget object.
Returns
A DisplayPath object representing the target.
- Attributes
Applies to
ConnectTarget(DisplayTarget, DisplayView)
Connects the specified target to an existing logical clone group, and returns the resulting path.
public:
virtual DisplayPath ^ ConnectTarget(DisplayTarget ^ target, DisplayView ^ view) = ConnectTarget;
/// [Windows.Foundation.Metadata.Overload("ConnectTargetToView")]
DisplayPath ConnectTarget(DisplayTarget const& target, DisplayView const& view);
[Windows.Foundation.Metadata.Overload("ConnectTargetToView")]
public DisplayPath ConnectTarget(DisplayTarget target, DisplayView view);
function connectTarget(target, view)
Public Function ConnectTarget (target As DisplayTarget, view As DisplayView) As DisplayPath
Parameters
- target
- DisplayTarget
A DisplayTarget object.
- view
- DisplayView
A DisplayView object.
Returns
A DisplayPath object representing the target.
- Attributes