Share via


DualTypeSortedListCollection<T, B>.IEnumerable<B>.GetEnumerator Method

Returns an enumerator that iterates through the collection.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

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

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

Return Value

Type: System.Collections.Generic.IEnumerator<B>
An IEnumerator<T> object.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

DualTypeSortedListCollection<T, B> Class

GetEnumerator Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace