共用方式為


UITechnologyManager.GetElementFromAutomationElement Method

Definition

public:
 virtual Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromAutomationElement(System::Windows::Automation::AutomationElement ^ element, System::Windows::Automation::AutomationElement ^ ceilingElement);
public virtual Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromAutomationElement (System.Windows.Automation.AutomationElement element, System.Windows.Automation.AutomationElement ceilingElement);
abstract member GetElementFromAutomationElement : System.Windows.Automation.AutomationElement * System.Windows.Automation.AutomationElement -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
override this.GetElementFromAutomationElement : System.Windows.Automation.AutomationElement * System.Windows.Automation.AutomationElement -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public Overridable Function GetElementFromAutomationElement (element As AutomationElement, ceilingElement As AutomationElement) As IUITechnologyElement

Parameters

ceilingElement
AutomationElement

Returns

Applies to