SpannableStringInternal.GetSpanStart(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the start offset of an attached span.
[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
The attached span object to locate.
Returns
The span's start offset, or -1 if the object is not attached.
- Attributes
Remarks
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.