Language

SpannableString.RemoveSpan(Object) Method

Definition

[Android.Runtime.Register("removeSpan", "(Ljava/lang/Object;)V", "GetRemoveSpan_Ljava_lang_Object_Handler")]
public virtual void RemoveSpan(Java.Lang.Object? what);
[<Android.Runtime.Register("removeSpan", "(Ljava/lang/Object;)V", "GetRemoveSpan_Ljava_lang_Object_Handler")>]
abstract member RemoveSpan : Java.Lang.Object -> unit
override this.RemoveSpan : Java.Lang.Object -> unit

Parameters

what
Object

Implements

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.

Android reference for android.text.SpannableString.removeSpan.

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