Skip to content

SourceReader.Advance Method ​

Overloads ​

NameDescription
Advance()Advances the reader one character. Does nothing if the reader is at the end of the file.
Advance(Int32)Advances the reader the specified number of characters, stopping at the end of the file if it is reached first.

Advance() ​

Advances the reader one character. Does nothing if the reader is at the end of the file.

c#
public void Advance();

View source

Advance(Int32) ​

Advances the reader the specified number of characters, stopping at the end of the file if it is reached first.

c#
public void Advance(int count);

View source

Parameters ​

NameTypeDescription
countInt32The number of characters to advance.