Share via


PrintStream.Append Method

Definition

Overloads

Append(ICharSequence)

Appends the specified character to this output stream.

Append(Char)

Appends the specified character to this output stream.

Append(String)

Appends the specified character to this output stream.

Append(ICharSequence, Int32, Int32)

Appends the specified character to this output stream.

Append(String, Int32, Int32)

Appends the specified character to this output stream.

Append(ICharSequence)

Appends the specified character to this output stream.

[Android.Runtime.Register("append", "(Ljava/lang/CharSequence;)Ljava/lang/Appendable;", "GetAppend_Ljava_lang_CharSequence_Handler")]
public virtual Java.Lang.IAppendable? Append (Java.Lang.ICharSequence? csq);
[<Android.Runtime.Register("append", "(Ljava/lang/CharSequence;)Ljava/lang/Appendable;", "GetAppend_Ljava_lang_CharSequence_Handler")>]
abstract member Append : Java.Lang.ICharSequence -> Java.Lang.IAppendable
override this.Append : Java.Lang.ICharSequence -> Java.Lang.IAppendable

Parameters

Returns

This output stream

Implements

Attributes

Remarks

Java documentation for java.io.PrintStream.append(char).

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

Append(Char)

Appends the specified character to this output stream.

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

Parameters

c
Char

The 16-bit character to append

Returns

This output stream

Implements

Attributes

Remarks

Java documentation for java.io.PrintStream.append(char).

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

Append(String)

Appends the specified character to this output stream.

public Java.Lang.IAppendable? Append (string? csq);
member this.Append : string -> Java.Lang.IAppendable

Parameters

csq
String

Returns

This output stream

Remarks

Java documentation for java.io.PrintStream.append(char).

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

Append(ICharSequence, Int32, Int32)

Appends the specified character to this output stream.

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

Parameters

start
Int32

the index of the first char in the character sequence appended to the target stream.

end
Int32

the index of the character following the last character of the subsequence appended to the target stream.

Returns

This output stream

Implements

Attributes

Exceptions

if start > end, start , end or either start or end are greater or equal than the length of charSequence.

Remarks

Java documentation for java.io.PrintStream.append(char).

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

Append(String, Int32, Int32)

Appends the specified character to this output stream.

public Java.Lang.IAppendable? Append (string? csq, int start, int end);
member this.Append : string * int * int -> Java.Lang.IAppendable

Parameters

csq
String
start
Int32
end
Int32

Returns

This output stream

Remarks

Java documentation for java.io.PrintStream.append(char).

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