共用方式為


SpannableString.ValueOf Method

Definition

Overloads

ValueOf(ICharSequence)
ValueOf(String)

ValueOf(ICharSequence)

[Android.Runtime.Register("valueOf", "(Ljava/lang/CharSequence;)Landroid/text/SpannableString;", "")]
public static Android.Text.SpannableString? ValueOf (Java.Lang.ICharSequence? source);
[<Android.Runtime.Register("valueOf", "(Ljava/lang/CharSequence;)Landroid/text/SpannableString;", "")>]
static member ValueOf : Java.Lang.ICharSequence -> Android.Text.SpannableString

Parameters

source
ICharSequence

Returns

Attributes

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.

Applies to

ValueOf(String)

public static Android.Text.SpannableString? ValueOf (string? source);
static member ValueOf : string -> Android.Text.SpannableString

Parameters

source
String

Returns

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.

Applies to