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
'宣告
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.