UITechnologyManager.GetElementFromAutomationElement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
- element
- AutomationElement
- ceilingElement
- AutomationElement