Share via


SfcListCollection<T, K, ParentT>.GetEnumerator Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure. 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>

Return Value

Type: System.Collections.Generic.IEnumerator<T>
A IEnumerator object for the collection.

Implements

IEnumerable<T>.GetEnumerator()