Freigeben über


GetEnumerator-Methode

Gets an enumerator that can iterate through the list of objects.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of DependencyCollectionNode)
'Usage
Dim instance As DependencyCollection
Dim returnValue As IEnumerator(Of DependencyCollectionNode)

returnValue = instance.GetEnumerator()
public IEnumerator<DependencyCollectionNode> GetEnumerator()
public:
virtual IEnumerator<DependencyCollectionNode^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<DependencyCollectionNode> 
override GetEnumerator : unit -> IEnumerator<DependencyCollectionNode> 
public final function GetEnumerator() : IEnumerator<DependencyCollectionNode>

Rückgabewert

Typ: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'DependencyCollectionNode> ) > ) >
An IEnumerator object value that can be used to iterate through the collection.

Implementiert

IEnumerable< (Of < ( <'T> ) > ) >. . :: . .GetEnumerator() () () ()

Beispiele

Skripterstellung