Udostępnij za pośrednictwem


ISpanned.GetSpanStart(Object) Method

Definition

Return the beginning of the range of text to which the specified markup object is attached, or -1 if the object is not attached.

[Android.Runtime.Register("getSpanStart", "(Ljava/lang/Object;)I", "GetGetSpanStart_Ljava_lang_Object_Handler:Android.Text.ISpannedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetSpanStart (Java.Lang.Object? tag);
[<Android.Runtime.Register("getSpanStart", "(Ljava/lang/Object;)I", "GetGetSpanStart_Ljava_lang_Object_Handler:Android.Text.ISpannedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetSpanStart : Java.Lang.Object -> int

Parameters

tag
Object

Returns

Attributes

Remarks

Return the beginning of the range of text to which the specified markup object is attached, or -1 if the object is not attached.

Java documentation for android.text.Spanned.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