AutomationPeer.GetPeerFromPointCore(Point) 方法

定義

當 Microsoft 使用者介面自動化 用戶端呼叫 GetPeerFromPoint 或對等的 Microsoft 使用者介面自動化 用戶端 API 時,提供對等的行為。

protected:
 virtual AutomationPeer ^ GetPeerFromPointCore(Point point) = GetPeerFromPointCore;
AutomationPeer GetPeerFromPointCore(Point const& point);
protected virtual AutomationPeer GetPeerFromPointCore(Point point);
function getPeerFromPointCore(point)
Protected Overridable Function GetPeerFromPointCore (point As Point) As AutomationPeer

參數

point
Point

目標UI元素在UI中的相對位置。

傳回

指定點之 UI 元素的 AutomationPeer

備註

在您使用或覆寫的對等中測試現有的傳回值,然後視需要覆寫該行為。

適用於

另請參閱