SpannableStringBuilder.ValueOf 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 |
|---|---|
| ValueOf(ICharSequence) |
Gets an editable builder, reusing an existing builder when possible. |
| ValueOf(String) |
Creates an editable text builder from a string. |
ValueOf(ICharSequence)
Gets an editable builder, reusing an existing builder when possible.
[Android.Runtime.Register("valueOf", "(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;", "")]
public static Android.Text.SpannableStringBuilder? ValueOf(Java.Lang.ICharSequence? source);
[<Android.Runtime.Register("valueOf", "(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;", "")>]
static member ValueOf : Java.Lang.ICharSequence -> Android.Text.SpannableStringBuilder
Parameters
- source
- ICharSequence
The source text to use or copy.
Returns
The source if it is already a builder of this type; otherwise, a new builder initialized from the source text.
- Attributes
Remarks
Android reference for android.text.SpannableStringBuilder.valueOf.
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
ValueOf(String)
Creates an editable text builder from a string.
public static Android.Text.SpannableStringBuilder? ValueOf(string? source);
static member ValueOf : string -> Android.Text.SpannableStringBuilder
Parameters
- source
- String
The source string from which to copy characters.
Returns
A new builder containing the supplied characters.
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.