IApp.ClearText 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
ClearText() |
Clears text from the currently focused element. |
ClearText(Func<AppQuery,AppQuery>) |
Clears text from a matching element that supports it. |
ClearText(Func<AppQuery,AppWebQuery>) |
Clears text from a matching element that supports it. |
ClearText(String) |
Clears text from a matching element that supports it. |
ClearText()
Clears text from the currently focused element.
public void ClearText ();
abstract member ClearText : unit -> unit
Public Sub ClearText ()
Applies to
ClearText(Func<AppQuery,AppQuery>)
Clears text from a matching element that supports it.
public void ClearText (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query);
abstract member ClearText : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> -> unit
Public Sub ClearText (query As Func(Of AppQuery, AppQuery))
Parameters
Applies to
ClearText(Func<AppQuery,AppWebQuery>)
Clears text from a matching element that supports it.
public void ClearText (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> query);
abstract member ClearText : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> -> unit
Public Sub ClearText (query As Func(Of AppQuery, AppWebQuery))
Parameters
- query
- Func<AppQuery,AppWebQuery>
Entry point for the fluent API to specify the element.
Applies to
ClearText(String)
Clears text from a matching element that supports it.
public void ClearText (string marked);
abstract member ClearText : string -> unit
Public Sub ClearText (marked As String)
Parameters
- marked
- String
Marked selector to match. See Marked(String) for more information.