Share via


DisplayState.CanConnectTargetToView(DisplayTarget, DisplayView) Method

Definition

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.

Applies to