SequenceReader<T>.TryAdvanceTo(T, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for a specified delimiter and optionally advances past it if it is found.
public bool TryAdvanceTo(T delimiter, bool advancePastDelimiter = true);
member this.TryAdvanceTo : 'T * bool -> bool
Public Function TryAdvanceTo (delimiter As T, Optional advancePastDelimiter As Boolean = true) As Boolean
Parameters
- delimiter
- T
The delimiter to search for.
- advancePastDelimiter
- Boolean
true
to move past the delimiter
if it is found; otherwise, false
.
Returns
true
if the given delimiter
was found; otherwise, false
.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.