AppQuery.Switch(String) 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.
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.