Condividi tramite


StringReader.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. Once the stream has been closed, further read(), ready(), mark(), or reset() invocations will throw an IOException. Closing a previously closed stream has no effect. This method will block while there is another thread blocking on the reader.

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