TextUtils.CopySpansFrom 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.
Copies the spans from the region start...end in
source to the region
destoff...destoff+end-start in dest.
[Android.Runtime.Register("copySpansFrom", "(Landroid/text/Spanned;IILjava/lang/Class;Landroid/text/Spannable;I)V", "")]
public static void CopySpansFrom(Android.Text.ISpanned? source, int start, int end, Java.Lang.Class? kind, Android.Text.ISpannable? dest, int destoff);[<Android.Runtime.Register("copySpansFrom", "(Landroid/text/Spanned;IILjava/lang/Class;Landroid/text/Spannable;I)V", "")>]
static member CopySpansFrom : Android.Text.ISpanned * int * int * Java.Lang.Class * Android.Text.ISpannable * int -> unitParameters
- source
- ISpanned
- start
- Int32
- end
- Int32
- kind
- Class
- dest
- ISpannable
- destoff
- Int32
- Attributes
Exceptions
if any of the copied spans
are out of range in dest.
Remarks
Copies the spans from the region start...end in source to the region destoff...destoff+end-start in dest. Spans in source that begin before start or end after end but overlap this range are trimmed as if they began at start or ended at end.
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.