Share via


SfcReferenceCollection<K, T, S>.IEnumerable<T>.GetEnumerator Method

Returns an enumerator that iterates through a collection.

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

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of T)
    Implements IEnumerable(Of T).GetEnumerator
'Usage
Dim instance As SfcReferenceCollection 
Dim returnValue As IEnumerator(Of T)

returnValue = CType(instance, IEnumerable(Of T)).GetEnumerator()
IEnumerator<T> IEnumerable<T>.GetEnumerator()
private:
virtual IEnumerator<T>^ GetEnumerator() sealed = IEnumerable<T>::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator<'T> 
private override GetEnumerator : unit -> IEnumerator<'T> 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Collections.Generic.IEnumerator<T>
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

SfcReferenceCollection<K, T, S> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace