Share via


MiningModelCollection.IEnumerable.GetEnumerator Method

Returns an Enumerator that can iterate through a collection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As MiningModelCollection
Dim returnValue As IEnumerator

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

Return Value

Type: System.Collections.IEnumerator
An Enumerator that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator()