UITechnologyElement.ChildIndex Property
Gets the zero-based position in the collection of child elements of the parent element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property ChildIndex As Integer
public abstract int ChildIndex { get; }
public:
virtual property int ChildIndex {
int get () abstract;
}
abstract ChildIndex : int with get
abstract function get ChildIndex () : int
Property Value
Type: Int32
The index of this element in the parent element.
Implements
IUITechnologyElement.ChildIndex
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.