SpannableStringBuilder Constructors
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
SpannableStringBuilder() |
Create a new SpannableStringBuilder with empty contents |
SpannableStringBuilder(ICharSequence) |
Create a new SpannableStringBuilder containing a copy of the specified text, including its spans if any. |
SpannableStringBuilder(String) |
Create a new SpannableStringBuilder containing a copy of the specified text, including its spans if any. |
SpannableStringBuilder(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
SpannableStringBuilder(ICharSequence, Int32, Int32) |
Create a new SpannableStringBuilder containing a copy of the specified slice of the specified text, including its spans if any. |
SpannableStringBuilder(String, Int32, Int32) |
Create a new SpannableStringBuilder containing a copy of the specified slice of the specified text, including its spans if any. |
SpannableStringBuilder()
Create a new SpannableStringBuilder with empty contents
[Android.Runtime.Register(".ctor", "()V", "")]
public SpannableStringBuilder ();
- Attributes
Remarks
Create a new SpannableStringBuilder with empty contents
Java documentation for android.text.SpannableStringBuilder.SpannableStringBuilder()
.
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
SpannableStringBuilder(ICharSequence)
Create a new SpannableStringBuilder containing a copy of the specified text, including its spans if any.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")]
public SpannableStringBuilder (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")>]
new Android.Text.SpannableStringBuilder : Java.Lang.ICharSequence -> Android.Text.SpannableStringBuilder
Parameters
- text
- ICharSequence
- Attributes
Remarks
Create a new SpannableStringBuilder containing a copy of the specified text, including its spans if any.
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
SpannableStringBuilder(String)
Create a new SpannableStringBuilder containing a copy of the specified text, including its spans if any.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")]
public SpannableStringBuilder (string? text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "")>]
new Android.Text.SpannableStringBuilder : string -> Android.Text.SpannableStringBuilder
Parameters
- text
- 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
SpannableStringBuilder(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected SpannableStringBuilder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.SpannableStringBuilder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.SpannableStringBuilder
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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
SpannableStringBuilder(ICharSequence, Int32, Int32)
Create a new SpannableStringBuilder containing a copy of the specified slice of the specified text, including its spans if any.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "")]
public SpannableStringBuilder (Java.Lang.ICharSequence? text, int start, int end);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "")>]
new Android.Text.SpannableStringBuilder : Java.Lang.ICharSequence * int * int -> Android.Text.SpannableStringBuilder
Parameters
- text
- ICharSequence
- start
- Int32
- end
- Int32
- Attributes
Remarks
Create a new SpannableStringBuilder containing a copy of the specified slice of the specified text, including its spans if any.
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
SpannableStringBuilder(String, Int32, Int32)
Create a new SpannableStringBuilder containing a copy of the specified slice of the specified text, including its spans if any.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "")]
public SpannableStringBuilder (string? text, int start, int end);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "")>]
new Android.Text.SpannableStringBuilder : string * int * int -> Android.Text.SpannableStringBuilder
Parameters
- text
- String
- start
- Int32
- end
- Int32
- 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.