Compartir a través de


DiagramItemCollection.GetEnumerator Method

Gets a DiagramItem enumerator for this collection.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaración
Public Overridable Function GetEnumerator As IEnumerator(Of DiagramItem)
public virtual IEnumerator<DiagramItem> GetEnumerator()
public:
virtual IEnumerator<DiagramItem^>^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator<DiagramItem> 
override GetEnumerator : unit -> IEnumerator<DiagramItem> 
public function GetEnumerator() : IEnumerator<DiagramItem>

Return Value

Type: System.Collections.Generic.IEnumerator<DiagramItem>
A DiagramItem enumerator for this collection.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

DiagramItemCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace