Udostępnij za pośrednictwem


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

Returns

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