DisplayState.CanConnectTargetToView(DisplayTarget, DisplayView) 方法

定义

指示指定目标是否可以连接到指定的视图。

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

参数

target
DisplayTarget

DisplayTarget 对象。

view
DisplayView

DisplayView 对象。

返回

Boolean

bool

true 如果 target 可以连接到 视图,则为 ;否则为 false

适用于