IUITechnologyElement.ChildIndex 属性

获取父元素的子元素集合中此元素的从零开始的位置。

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

语法

声明
ReadOnly Property ChildIndex As Integer
    Get
int ChildIndex { get; }
property int ChildIndex {
    int get ();
}
abstract ChildIndex : int
function get ChildIndex () : int

属性值

类型:System.Int32
父元素内此元素的索引。

.NET Framework 安全性

请参见

参考

IUITechnologyElement 接口

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空间