Share via


MiscellaneousFilesCollection.GetEnumerator Method

Returns an enumerator for use in enumerating over the MiscellaneousFilesCollection.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of IExtraSource)
'Usage
Dim instance As MiscellaneousFilesCollection
Dim returnValue As IEnumerator(Of IExtraSource)

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

Return Value

Type: System.Collections.Generic.IEnumerator<IExtraSource>
An enumerator that is able to iterate through the IExtraSource objects in the collection.

Implements

IEnumerable<T>.GetEnumerator()