StringBuilder.Append StringBuilder.Append Method

Definition

Overloads

Append(String, Int32, Int32) Append(String, Int32, Int32)
Append(Char[], Int32, Int32) Append(Char[], Int32, Int32)

Appends the string representation of the specified subset of the char[].

Append(ICharSequence, Int32, Int32) Append(ICharSequence, Int32, Int32)

Appends the string representation of the specified subsequence of the CharSequence.

Append(Single) Append(Single)

Appends the string representation of the specified float value.

Append(Int64) Append(Int64)

Appends the string representation of the specified long value.

Append(Int32) Append(Int32)

Appends the string representation of the specified int value.

Append(String) Append(String)

Appends the contents of the specified string.

Append(Char[]) Append(Char[])

Appends the string representation of the specified char[].

Append(Char) Append(Char)

Appends the string representation of the specified char value.

Append(Boolean) Append(Boolean)

Appends the string representation of the specified boolean value.

Append(Double) Append(Double)

Appends the string representation of the specified double value.

Append(StringBuffer) Append(StringBuffer)

Appends the contents of the specified StringBuffer.

Append(Object) Append(Object)

Appends the string representation of the specified Object.

Append(ICharSequence) Append(ICharSequence)

Appends the string representation of the specified CharSequence.

Append(String, Int32, Int32) Append(String, Int32, Int32)

public Java.Lang.IAppendable Append (string s, int start, int end);
override this.Append : string * int * int -> Java.Lang.IAppendable

Parameters

start
Int32 Int32
end
Int32 Int32

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.

Append(Char[], Int32, Int32) Append(Char[], Int32, Int32)

Appends the string representation of the specified subset of the char[].

[Android.Runtime.Register("append", "([CII)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (char[] str, int offset, int len);
override this.Append : char[] * int * int -> Java.Lang.IAppendable

Parameters

str
Char[]

the char[] to append.

offset
Int32 Int32

the inclusive offset index.

len
Int32 Int32

the number of characters.

Returns

Exceptions

if offset and len do not specify a valid subsequence.

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.

Append(ICharSequence, Int32, Int32) Append(ICharSequence, Int32, Int32)

Appends the string representation of the specified subsequence of the CharSequence.

[Android.Runtime.Register("append", "(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;", "")]
public override Java.Lang.IAppendable Append (Java.Lang.ICharSequence s, int start, int end);
override this.Append : Java.Lang.ICharSequence * int * int -> Java.Lang.IAppendable

Parameters

start
Int32 Int32

the beginning index.

end
Int32 Int32

the ending index.

Returns

Implements

Exceptions

if start or end are negative, start is greater than end or end is greater than the length of csq.

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.

Append(Single) Append(Single)

Appends the string representation of the specified float value.

[Android.Runtime.Register("append", "(F)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (float f);
override this.Append : single -> Java.Lang.IAppendable

Parameters

f
Single Single

the float value to append.

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.

See also

Append(Int64) Append(Int64)

Appends the string representation of the specified long value.

[Android.Runtime.Register("append", "(J)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (long lng);
override this.Append : int64 -> Java.Lang.IAppendable

Parameters

lng
Int64 Int64

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.

See also

Append(Int32) Append(Int32)

Appends the string representation of the specified int value.

[Android.Runtime.Register("append", "(I)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (int i);
override this.Append : int -> Java.Lang.IAppendable

Parameters

i
Int32 Int32

the int value to append.

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.

See also

Append(String) Append(String)

Appends the contents of the specified string.

[Android.Runtime.Register("append", "(Ljava/lang/String;)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (string str);
override this.Append : string -> Java.Lang.IAppendable

Parameters

str
String String

the string to append.

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.

Append(Char[]) Append(Char[])

Appends the string representation of the specified char[].

[Android.Runtime.Register("append", "([C)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (char[] str);
override this.Append : char[] -> Java.Lang.IAppendable

Parameters

str
Char[]

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.

See also

Append(Char) Append(Char)

Appends the string representation of the specified char value.

[Android.Runtime.Register("append", "(C)Ljava/lang/Appendable;", "")]
public override Java.Lang.IAppendable Append (char c);
override this.Append : char -> Java.Lang.IAppendable

Parameters

c
Char Char

the char value to append.

Returns

Implements

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.

See also

Append(Boolean) Append(Boolean)

Appends the string representation of the specified boolean value.

[Android.Runtime.Register("append", "(Z)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (bool b);
override this.Append : bool -> Java.Lang.IAppendable

Parameters

b
Boolean Boolean

the boolean value to append.

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.

See also

Append(Double) Append(Double)

Appends the string representation of the specified double value.

[Android.Runtime.Register("append", "(D)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (double d);
override this.Append : double -> Java.Lang.IAppendable

Parameters

d
Double Double

the double value to append.

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.

See also

Append(StringBuffer) Append(StringBuffer)

Appends the contents of the specified StringBuffer.

[Android.Runtime.Register("append", "(Ljava/lang/StringBuffer;)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (Java.Lang.StringBuffer sb);
override this.Append : Java.Lang.StringBuffer -> Java.Lang.IAppendable

Parameters

sb
StringBuffer StringBuffer

the StringBuffer to append.

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.

Append(Object) Append(Object)

Appends the string representation of the specified Object.

[Android.Runtime.Register("append", "(Ljava/lang/Object;)Ljava/lang/StringBuilder;", "")]
public Java.Lang.IAppendable Append (Java.Lang.Object obj);
override this.Append : Java.Lang.Object -> Java.Lang.IAppendable

Parameters

obj
Object Object

the Object to append.

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.

See also

Append(ICharSequence) Append(ICharSequence)

Appends the string representation of the specified CharSequence.

[Android.Runtime.Register("append", "(Ljava/lang/CharSequence;)Ljava/lang/Appendable;", "")]
public override Java.Lang.IAppendable Append (Java.Lang.ICharSequence s);
override this.Append : Java.Lang.ICharSequence -> Java.Lang.IAppendable

Parameters

Returns

Implements

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