Java.IO.Reader.Mark Method
Sets a mark position in this reader.

Syntax

[Android.Runtime.Register("mark", "(I)V", "GetMark_IHandler")]
public virtual void Mark (int readLimit)

See Also

Reader.MarkSupported
Reader.Reset

Parameters

readLimit
the number of characters that can be read before the mark is invalidated.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif readLimit .
Java.IO.IOExceptionif an error occurs while setting a mark in this reader.

Remarks

Sets a mark position in this reader. The parameter readLimit indicates how many characters can be read before the mark is invalidated. Calling reset() will reposition the reader back to the marked position if readLimit has not been surpassed.

This default implementation simply throws an IOException; subclasses must provide their own implementation.

[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