Megosztás a következőn keresztül:


IEditable.Clear Method

Definition

Convenience for replace(0, length(), "", 0, 0).

[Android.Runtime.Register("clear", "()V", "GetClearHandler:Android.Text.IEditableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler:Android.Text.IEditableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Clear : unit -> unit
Attributes

Remarks

Convenience for replace(0, length(), "", 0, 0). Note that this clears the text, not the spans; use #clearSpans if you need that.

Java documentation for android.text.Editable.clear().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also

  • <xref:Android.Text.IEditable.Replace(System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32)>