UIElementAutomationPeer.FromElement(UIElement) Yöntem

Tanım

Belirtilen UIElementiçin öğesini UIElementAutomationPeer alır.

public:
 static System::Windows::Automation::Peers::AutomationPeer ^ FromElement(System::Windows::UIElement ^ element);
public static System.Windows.Automation.Peers.AutomationPeer FromElement (System.Windows.UIElement element);
static member FromElement : System.Windows.UIElement -> System.Windows.Automation.Peers.AutomationPeer
Public Shared Function FromElement (element As UIElement) As AutomationPeer

Parametreler

element
UIElement

UIElement bu ile UIElementAutomationPeerilişkili olan .

Döndürülenler

AutomationPeer

UIElementAutomationPeeryöntemi tarafından CreatePeerForElement(UIElement) oluşturulmadıysa ; veya null.UIElementAutomationPeer

Şunlara uygulanır