GetEnumerator Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides an enumerator that iterates through the collection.

Namespace:  System.Text.RegularExpressions
Assembly:  System.Text.RegularExpressions (in System.Text.RegularExpressions.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
public IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator 
override GetEnumerator : unit -> IEnumerator 
public final function GetEnumerator() : IEnumerator

Return Value

Type: System.Collections. . :: . .IEnumerator
An object that contains all Capture objects within the CaptureCollection.

Implements

IEnumerable. . :: . .GetEnumerator() () () ()

.NET Framework Security

See Also

Reference

CaptureCollection Class

System.Text.RegularExpressions Namespace