Compartir a través de


DependencyCollection.GetEnumerator Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function GetEnumerator As IEnumerator(Of DependencyCollectionNode)
'Uso
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>

Valor devuelto

Tipo: System.Collections.Generic.IEnumerator<DependencyCollectionNode>
An IEnumerator object value that can be used to iterate through the collection.

Implementa

IEnumerable<T>.GetEnumerator()

Ejemplos

Scripting

Vea también

Referencia

DependencyCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo