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

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace