Share via


AppQuery.Sibling Method

Definition

Overloads

Sibling(Int32)

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

Sibling(String)

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

Sibling(Int32)

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

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

Parameters

index
Int32

The zero-based index of the sibling to return.

Returns

Applies to

Sibling(String)

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

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

Parameters

className
String

Optional class name of elements to match.

Returns

Applies to