共用方式為


UITechnologyManagerProxy.GetElementFromAutomationElement Method

Definition

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

Parameters

ceilingElement
AutomationElement

Returns

Applies to