Share via


PrintWriter.Close Method

Definition

Closes the stream and releases any system resources associated with it.

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

Remarks

Closes the stream and releases any system resources associated with it. Closing a previously closed stream has no effect.

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