Share via


NormalizedSpanCollection.GetEnumerator Method

Definition

A non-allocating struct enumerator for this collection.

public Microsoft.VisualStudio.Text.NormalizedSpanCollection.Enumerator GetEnumerator ();
override this.GetEnumerator : unit -> Microsoft.VisualStudio.Text.NormalizedSpanCollection.Enumerator
Public Function GetEnumerator () As NormalizedSpanCollection.Enumerator

Returns

An enumerator over this collection.

Remarks

foreach will use this automatically when the concrete type is known, which turns out to be quite often for this type.

Applies to