Freigeben über


ReadOnlyList<T>.GetEnumerator-Methode

Returns an enumerator that iterates through the list.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of T)
'Usage
Dim instance As ReadOnlyList 
Dim returnValue As IEnumerator(Of T)

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

Rückgabewert

Typ: System.Collections.Generic.IEnumerator<T>
An enumerator that iterates through the list.

Implementiert

IEnumerable<T>.GetEnumerator()

Siehe auch

Verweis

ReadOnlyList<T> Struktur

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace