Java.IO.OutputStreamWriter.Close Method
Closes this writer.

Syntax

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public override void Close ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while closing this writer.

Remarks

Closes this writer. This implementation flushes the buffer but does not flush the target stream. The target stream is then closed and the resources for the buffer and converter are released.

Only the first invocation of this method has any effect. Subsequent calls do nothing.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1