Regex.ValueMatchEnumerator.GetEnumerator 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.

Provides an enumerator that iterates through the matches in the input span.

C#
public readonly System.Text.RegularExpressions.Regex.ValueMatchEnumerator GetEnumerator();

Returns

A copy of this enumerator.

Applies to

Product Versions
.NET 7, 8, 9, 10