AppQuery.Sibling Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.