共用方式為


ISpannable.RemoveSpan(Object) Method

Definition

Remove the specified object from the range of text to which it was attached, if any.

[Android.Runtime.Register("removeSpan", "(Ljava/lang/Object;)V", "GetRemoveSpan_Ljava_lang_Object_Handler:Android.Text.ISpannableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RemoveSpan (Java.Lang.Object? what);
[<Android.Runtime.Register("removeSpan", "(Ljava/lang/Object;)V", "GetRemoveSpan_Ljava_lang_Object_Handler:Android.Text.ISpannableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveSpan : Java.Lang.Object -> unit

Parameters

what
Object
Attributes

Remarks

Remove the specified object from the range of text to which it was attached, if any. It is OK to remove an object that was never attached in the first place.

Java documentation for android.text.Spannable.removeSpan(java.lang.Object).

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