Java.Util.Scanner.Close Method
Closes this Scanner and the underlying input if the input implements Closeable.

Syntax

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

See Also

Java.IO.ICloseable

Remarks

Closes this Scanner and the underlying input if the input implements Closeable. If the Scanner has been closed, this method will have no effect. Any scanning operation called after calling this method will throw an IllegalStateException.

[Android Documentation]

Requirements

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