Freigeben über


NormalizedSnapshotSpanCollection.GetEnumerator Method

Definition

Gets an enumerator for the collection.

public:
 virtual System::Collections::Generic::IEnumerator<Microsoft::VisualStudio::Text::SnapshotSpan> ^ GetEnumerator();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection+<GetEnumerator>d__37))]
public System.Collections.Generic.IEnumerator<Microsoft.VisualStudio.Text.SnapshotSpan> GetEnumerator ();
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection+<GetEnumerator>d__41))]
public System.Collections.Generic.IEnumerator<Microsoft.VisualStudio.Text.SnapshotSpan> GetEnumerator ();
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection+<GetEnumerator>d__37))>]
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.VisualStudio.Text.SnapshotSpan>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.VisualStudio.Text.SnapshotSpan>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection+<GetEnumerator>d__41))>]
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.VisualStudio.Text.SnapshotSpan>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.VisualStudio.Text.SnapshotSpan>
Public Iterator Overridable NotOverridable Function GetEnumerator () As IEnumerator(Of SnapshotSpan)

Returns

The enumerator.

Implements

Attributes

Applies to