Share via


AppQuery.Descendant Method

Definition

Overloads

Descendant(Int32)

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

Descendant(String)

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

Descendant(Int32)

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

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

Parameters

index
Int32

The zero-based index of the descendant to return.

Returns

Applies to

Descendant(String)

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

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

Parameters

className
String

Optional class name of elements to match.

Returns

Applies to