NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Match.NextMatch

Returns a new Match with the results for the next match, starting at the position at which the last match ended (at the character beyond the last matched character).

[Visual Basic]
Public Function NextMatch() As Match
[C#]
public Match NextMatch();
[C++]
public: Match* NextMatch();
[JScript]
public function NextMatch() : Match;

Return Value

Next Regular Expression Match objecrt.

Remarks

This function is similar to calling Match again and passing (Index+Length) as the new starting position, but it differs from calling Match directly because it handles zero-length match cases in a way that guarantees progress to the end of the string.

See Also

Match Class | Match Members | System.Text.RegularExpressions Namespace