Condividi tramite


NormalizedSnapshotSpanCollection.GetEnumerator Method

Gets an enumerator for the collection.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

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

Return Value

Type: System.Collections.Generic.IEnumerator<SnapshotSpan>
The enumerator.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace