Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides an enumerator over a ReadOnlyLinkedElementCollection
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Structure Enumerator _
Implements IEnumerator(Of T), IDisposable, IEnumerator
'Usage
Dim instance As ReadOnlyLinkedElementCollection.Enumerator
public struct Enumerator : IEnumerator<T>,
IDisposable, IEnumerator
public value class Enumerator : IEnumerator<T>,
IDisposable, IEnumerator
JScript supports the use of structures, but not the declaration of new ones.
Remarks
The foreach statement of the C# language (For Each in Visual Basic) hides the complexity of enumerators. Therefore, using foreach is recommended, instead of directly manipulating the enumerator.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.