Android.Text.ISpannable.SetSpan Method
Attach the specified markup object to the range start…end of the text, or move the object to that range if it was already attached elsewhere.

Syntax

[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.Runtime.GeneratedEnum] SpanTypes flags)

Parameters

what
Documentation for this section has not yet been entered.
start
Documentation for this section has not yet been entered.
end
Documentation for this section has not yet been entered.
flags
Documentation for this section has not yet been entered.

Remarks

Attach the specified markup object to the range start…end of the text, or move the object to that range if it was already attached elsewhere. See Android.Text.ISpanned for an explanation of what the flags mean. The object can be one that has meaning only within your application, or it can be one that the text system will use to affect text display or behavior. Some noteworthy ones are the subclasses of Android.Text.Style.CharacterStyle and Android.Text.Style.IParagraphStyle, and Android.Text.ITextWatcher and Android.Text.ISpanWatcher.

[Android Documentation]

Requirements

Namespace: Android.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1