Share via


AppQuery.Switch(String) Method

Definition

Matches a Switch. For Android: An element that inherits from android.widget.CompoundButton. For iOS: An element with class UISwitch.

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

Parameters

marked
String

Optional argument for matching using marked classification. See Marked(String) for more.

Returns

Applies to