Freigeben über


GetEnumerator-Methode

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets an enumeration of the collection.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Overrides Function GetEnumerator As IEnumerator(Of T)
'Usage
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>

Rückgabewert

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

Implementiert

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