Share via


AppQuery.Child Method

Definition

Overloads

Child(Int32)

Changes the query to return the n'th child element of the currently matched ones.

Child(String)

Changes the query to return child elements of the currently matched ones.

Child(Int32)

Changes the query to return the n'th child element of the currently matched ones.

public Xamarin.UITest.Queries.AppQuery Child (int index);
member this.Child : int -> Xamarin.UITest.Queries.AppQuery
Public Function Child (index As Integer) As AppQuery

Parameters

index
Int32

The zero-based index of the child to return.

Returns

Applies to

Child(String)

Changes the query to return child elements of the currently matched ones.

public Xamarin.UITest.Queries.AppQuery Child (string className = null);
member this.Child : string -> Xamarin.UITest.Queries.AppQuery
Public Function Child (Optional className As String = null) As AppQuery

Parameters

className
String

Optional class name of elements to match.

Returns

Applies to