StringWriter.Close Method

Definition

Closing a StringWriter has no effect.

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public override void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler")>]
override this.Close : unit -> unit
Attributes

Exceptions

if an error occurs while closing this writer.

Remarks

Closing a StringWriter has no effect. The methods in this class can be called after the stream has been closed without generating an IOException.

Java documentation for java.io.StringWriter.close().

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