TextUtils.DumpSpans 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.
Overloads
| Name | Description |
|---|---|
| DumpSpans(String, IPrinter, String) |
Debugging tool to print the spans in a CharSequence. |
| DumpSpans(ICharSequence, IPrinter, String) |
Debugging tool to print the spans in a CharSequence. |
DumpSpans(String, IPrinter, String)
Debugging tool to print the spans in a CharSequence.
public static void DumpSpans(string? cs, Android.Util.IPrinter? printer, string? prefix);
static member DumpSpans : string * Android.Util.IPrinter * string -> unit
Parameters
- cs
- String
The text to inspect.
- printer
- IPrinter
The printer that receives the text and its no-spans indication.
- prefix
- String
The text placed before the output line.
Remarks
Debugging tool to print the spans in a CharSequence. The output will be printed one span per line. If the CharSequence is not a Spanned, then the entire string will be printed on a single line.
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
DumpSpans(ICharSequence, IPrinter, String)
Debugging tool to print the spans in a CharSequence.
[Android.Runtime.Register("dumpSpans", "(Ljava/lang/CharSequence;Landroid/util/Printer;Ljava/lang/String;)V", "")]
public static void DumpSpans(Java.Lang.ICharSequence? cs, Android.Util.IPrinter? printer, string? prefix);
[<Android.Runtime.Register("dumpSpans", "(Ljava/lang/CharSequence;Landroid/util/Printer;Ljava/lang/String;)V", "")>]
static member DumpSpans : Java.Lang.ICharSequence * Android.Util.IPrinter * string -> unit
Parameters
The text whose spans are inspected.
- printer
- IPrinter
The printer that receives the span descriptions.
- prefix
- String
The text placed before each output line.
- Attributes
Remarks
Debugging tool to print the spans in a CharSequence. The output will be printed one span per line. If the CharSequence is not a Spanned, then the entire string will be printed on a single line.
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.