共用方式為


DisplayState.GetPathForTarget(DisplayTarget) 方法

定義

擷取代表指定目標的 DisplayPath 物件。

public:
 virtual DisplayPath ^ GetPathForTarget(DisplayTarget ^ target) = GetPathForTarget;
DisplayPath GetPathForTarget(DisplayTarget const& target);
public DisplayPath GetPathForTarget(DisplayTarget target);
function getPathForTarget(target)
Public Function GetPathForTarget (target As DisplayTarget) As DisplayPath

參數

target
DisplayTarget

DisplayTarget物件。

傳回

代表目標的 DisplayPath物件。

適用於