Share via


SpannedString Constructors

Definition

Overloads

SpannedString(ICharSequence)

For the backward compatibility reasons, this constructor copies all spans including android.text.NoCopySpan.

SpannedString(String)

SpannedString(ICharSequence)

For the backward compatibility reasons, this constructor copies all spans including android.text.NoCopySpan.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")]
public SpannedString (Java.Lang.ICharSequence? source);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")>]
new Android.Text.SpannedString : Java.Lang.ICharSequence -> Android.Text.SpannedString

Parameters

source
ICharSequence

source text

Attributes

Remarks

For the backward compatibility reasons, this constructor copies all spans including android.text.NoCopySpan.

Java documentation for android.text.SpannedString.SpannedString(java.lang.CharSequence).

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

SpannedString(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")]
public SpannedString (string? source);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")>]
new Android.Text.SpannedString : string -> Android.Text.SpannedString

Parameters

source
String
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