Compartir a través de


Writer.Append Method

Definition

Overloads

Append(ICharSequence)

Appends the specified character to this writer.

Append(Char)

Appends the specified character to this writer.

Append(String)

Appends the specified character to this writer.

Append(ICharSequence, Int32, Int32)

Appends the specified character to this writer.

Append(String, Int32, Int32)

Appends the specified character to this writer.

Append(ICharSequence)

Appends the specified character to this writer.

[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

csq
ICharSequence

the character sequence appended to the target.

Returns

This writer

Implements

Attributes

Exceptions

if this writer is closed or another I/O error occurs.

Remarks

Java documentation for java.io.Writer.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 writer.

[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 writer

Implements

Attributes

Exceptions

if this writer is closed or another I/O error occurs.

Remarks

Java documentation for java.io.Writer.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 writer.

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

Parameters

csq
String

Returns

This writer

Remarks

Java documentation for java.io.Writer.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 writer.

[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

csq
ICharSequence

the character sequence appended to the target.

start
Int32

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

end
Int32

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

Returns

This writer

Implements

Attributes

Exceptions

if this writer is closed or another I/O error occurs.

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

Remarks

Java documentation for java.io.Writer.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 writer.

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 writer

Remarks

Java documentation for java.io.Writer.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