AppQuery.Descendant 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
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.