Compartir a través de


GetEnumerator Método

Gets an enumerator that is used to iterate through the objects in a collection.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Function GetEnumerator As IEnumerator
'Uso
Dim instance As ReplicationBaseCollection
Dim returnValue As IEnumerator

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

Valor devuelto

Tipo: System.Collections. . :: . .IEnumerator
An instance IEnumerator.

Implementa

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

Comentarios

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.