ISpannable.SetSpan(Object, Int32, Int32, SpanTypes) Method

Definition

Attach the specified markup object to the range <code>start&hellip;end</code> of the text, or move the object to that range if it was already attached elsewhere.

[Android.Runtime.Register("setSpan", "(Ljava/lang/Object;III)V", "GetSetSpan_Ljava_lang_Object_IIIHandler:Android.Text.ISpannableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetSpan (Java.Lang.Object? what, int start, int end, Android.Text.SpanTypes flags);
[<Android.Runtime.Register("setSpan", "(Ljava/lang/Object;III)V", "GetSetSpan_Ljava_lang_Object_IIIHandler:Android.Text.ISpannableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetSpan : Java.Lang.Object * int * int * Android.Text.SpanTypes -> unit

Parameters

what
Object
start
Int32
end
Int32
flags
SpanTypes
Attributes

Remarks

Java documentation for android.text.Spannable.setSpan(java.lang.Object, int, int, int).

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