Method Skip
Skip(Int32)
Skips amount
characters in this reader. Subsequent
Read()s will not return these characters unless Reset()
is used. Skipping characters may invalidate a mark if Lucene.Net.Analysis.Util.BufferedCharFilter.markLimit
is surpassed.
Declaration
public override long Skip(int amount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | amount | the maximum number of characters to skip. |
Returns
Type | Description |
---|---|
System.Int64 | the number of characters actually skipped. |
Overrides
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | if |
System.IO.IOException | If this reader is disposed or some other I/O error occurs. |