共用方式為


IUITechnologyElement.ChildIndex 屬性

在父項目的子項目集合中取得此項目以零起始的位置。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
ReadOnly Property ChildIndex As Integer
int ChildIndex { get; }
property int ChildIndex {
    int get ();
}
abstract ChildIndex : int with get
function get ChildIndex () : int

屬性值

類型:Int32
這個項目在父項目中的索引。

.NET Framework 安全性

請參閱

參考

IUITechnologyElement 介面

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