AutomationPeer.GetPeerFromPoint(Point) 方法

定義

從指定之點取得 AutomationPeerGets an AutomationPeer from the specified point.

public:
 System::Windows::Automation::Peers::AutomationPeer ^ GetPeerFromPoint(System::Windows::Point point);
public System.Windows.Automation.Peers.AutomationPeer GetPeerFromPoint (System.Windows.Point point);
member this.GetPeerFromPoint : System.Windows.Point -> System.Windows.Automation.Peers.AutomationPeer
Public Function GetPeerFromPoint (point As Point) As AutomationPeer

參數

point
Point

要從該處取得 AutomationPeer 的螢幕位置。The position on the screen to get the AutomationPeer from.

傳回

AutomationPeer

位於指定的點的 AutomationPeerThe AutomationPeer at the specified point.

適用於