Share via


SpannableStringBuilder.GetSpanStart(Object) Method

Definition

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

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

Parameters

what
Object

Returns

Implements

Attributes

Remarks

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

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