Freigeben über


GetEnumerator-Methode

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
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

Rückgabewert

Typ: System.Collections. . :: . .IEnumerator
An instance IEnumerator.

Implementiert

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

Hinweise

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