UITechnologyManager.GetPreviousSibling(IUITechnologyElement) 方法

定义

返回 UI 层次结构中给定元素的上一个同级元素。

public:
 abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetPreviousSibling(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ element);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetPreviousSibling (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement element);
abstract member GetPreviousSibling : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public MustOverride Function GetPreviousSibling (element As IUITechnologyElement) As IUITechnologyElement

参数

返回

IUITechnologyElement

上一个同级元素。

实现

适用于