Share via


Switcher.ListViewCollection.GetEnumerator Method

Returns a reference to an enumerator object, which is used to iterate over a Collection.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of IView)
'Usage
Dim instance As Switcher..::..ListViewCollection
Dim returnValue As IEnumerator(Of IView)

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

Return Value

Type: System.Collections.Generic.IEnumerator<IView>
Returns a reference to an enumerator object, which is used to iterate over a collection.

Implements

IEnumerable<T>.GetEnumerator()