IApp.ClearText 方法

定義

多載

ClearText()

清除目前焦點專案的文字。

ClearText(Func<AppQuery,AppQuery>)

從支援的相符專案清除文字。

ClearText(Func<AppQuery,AppWebQuery>)

從支援的相符專案清除文字。

ClearText(String)

從支援的相符專案清除文字。

ClearText()

清除目前焦點專案的文字。

public void ClearText ();
abstract member ClearText : unit -> unit
Public Sub ClearText ()

適用於

ClearText(Func<AppQuery,AppQuery>)

從支援的相符專案清除文字。

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))

參數

query
Func<AppQuery,AppQuery>

Fluent API 的進入點,以指定 專案。

適用於

ClearText(Func<AppQuery,AppWebQuery>)

從支援的相符專案清除文字。

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))

參數

query
Func<AppQuery,AppWebQuery>

Fluent API 的進入點,以指定 專案。

適用於

ClearText(String)

從支援的相符專案清除文字。

public void ClearText (string marked);
abstract member ClearText : string -> unit
Public Sub ClearText (marked As String)

參數

marked
String

標示要比對的選取器。 如需相關資訊,請參閱 Marked(String)

適用於