UITechnologyManagerProxy.GetNextSibling 方法

获取给定元素的下一个同级在用户界面层次结构中。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

语法

声明
Public Overrides Function GetNextSibling ( _
    element As IUITechnologyElement _
) As IUITechnologyElement
public override IUITechnologyElement GetNextSibling(
    IUITechnologyElement element
)
public:
virtual IUITechnologyElement^ GetNextSibling(
    IUITechnologyElement^ element
) override
abstract GetNextSibling : 
        element:IUITechnologyElement -> IUITechnologyElement 
override GetNextSibling : 
        element:IUITechnologyElement -> IUITechnologyElement 
public override function GetNextSibling(
    element : IUITechnologyElement
) : IUITechnologyElement

参数

返回值

类型:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
下一个同级或空,否则。

实现

IUITechnologyManager.GetNextSibling(IUITechnologyElement)

.NET Framework 安全性

请参见

参考

UITechnologyManagerProxy 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间