SpannedString.GetSpans(Int32, Int32, Class) 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.
Return an array of the markup objects attached to the specified slice of this CharSequence and whose type is the specified type or a subclass of it.
[Android.Runtime.Register("getSpans", "(IILjava/lang/Class;)[Ljava/lang/Object;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public override Java.Lang.Object[]? GetSpans(int queryStart, int queryEnd, Java.Lang.Class? kind);
[<Android.Runtime.Register("getSpans", "(IILjava/lang/Class;)[Ljava/lang/Object;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
override this.GetSpans : int * int * Java.Lang.Class -> Java.Lang.Object[]
Parameters
- queryStart
- Int32
- queryEnd
- Int32
- kind
- Class
Returns
Implements
- Attributes
Remarks
Return an array of the markup objects attached to the specified slice of this CharSequence and whose type is the specified type or a subclass of it. Specify Object.class for the type if you want all the objects regardless of type.
Android reference for android.text.SpannedString.getSpans.
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.