Metodo IEnumerable.GetEnumerator

Returns an IEnumerator interface that is required to iterate through a collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Utilizzo
Dim instance As DependencyCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator 
private override GetEnumerator : unit -> IEnumerator 
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Valore restituito

Tipo: System.Collections. . :: . .IEnumerator
Returns an IEnumerator interface that is required to iterate through a collection.

Implementa

IEnumerable. . :: . .GetEnumerator() () () ()