Language

SpannableStringBuilder.GetSpanEnd(Object) Method

Definition

Return the buffer offset of the end of the specified markup object, or -1 if it is not attached to this buffer.

[Android.Runtime.Register("getSpanEnd", "(Ljava/lang/Object;)I", "GetGetSpanEnd_Ljava_lang_Object_Handler")]
public virtual int GetSpanEnd(Java.Lang.Object? what);
[<Android.Runtime.Register("getSpanEnd", "(Ljava/lang/Object;)I", "GetGetSpanEnd_Ljava_lang_Object_Handler")>]
abstract member GetSpanEnd : Java.Lang.Object -> int
override this.GetSpanEnd : Java.Lang.Object -> int

Parameters

what
Object

The attached span object to locate.

Returns

The span's exclusive end offset, or -1 if the object is not attached.

Implements

Attributes

Remarks

Return the buffer offset of the end of the specified markup object, or -1 if it is not attached to this buffer.

Java documentation for android.text.SpannableStringBuilder.getSpanEnd(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