DisplayState.CanConnectTargetToView(DisplayTarget, DisplayView) 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.
Indicates whether or not the specified target can be connected to the specified view.
public:
virtual bool CanConnectTargetToView(DisplayTarget ^ target, DisplayView ^ view) = CanConnectTargetToView;
bool CanConnectTargetToView(DisplayTarget const& target, DisplayView const& view);
public bool CanConnectTargetToView(DisplayTarget target, DisplayView view);
function canConnectTargetToView(target, view)
Public Function CanConnectTargetToView (target As DisplayTarget, view As DisplayView) As Boolean
Parameters
- target
- DisplayTarget
A DisplayTarget object.
- view
- DisplayView
A DisplayView object.
Returns
Boolean
bool
true
if target can be connected to view, otherwise false
.