Partager via


Méthode GetEnumerator

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets an enumeration of the collection.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Overrides Function GetEnumerator As IEnumerator(Of T)
'Utilisation
Dim instance As SfcListCollection
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator()
public override IEnumerator<T> GetEnumerator()
public:
virtual IEnumerator<T>^ GetEnumerator() override
abstract GetEnumerator : unit -> IEnumerator<'T> 
override GetEnumerator : unit -> IEnumerator<'T> 
public override function GetEnumerator() : IEnumerator<T>

Valeur de retour

Type : System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'T> ) > ) >
A IEnumerator object for the collection.

Implémente

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