共用方式為


DisplayState.GetViewForTarget(DisplayTarget) 方法

定義

擷取 DisplayView 物件,代表目標所連接的檢視。

public:
 virtual DisplayView ^ GetViewForTarget(DisplayTarget ^ target) = GetViewForTarget;
DisplayView GetViewForTarget(DisplayTarget const& target);
public DisplayView GetViewForTarget(DisplayTarget target);
function getViewForTarget(target)
Public Function GetViewForTarget (target As DisplayTarget) As DisplayView

參數

target
DisplayTarget

DisplayTarget物件。

傳回

DisplayView物件,表示目標所連接的檢視。

適用於