Condividi tramite


Metodo TraceEventCollection.IEnumerable.GetEnumerator

Returns an enumerator that iterates through a collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Private Function GetEnumerator As IEnumerator 
    Implements IEnumerable.GetEnumerator
'Utilizzo
Dim instance As TraceEventCollection 
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Valore restituito

Tipo: System.Collections.IEnumerator
An IEnumerator object that can be used to iterate through the collection.

Implementa

IEnumerable.GetEnumerator()

Vedere anche

Riferimento

TraceEventCollection Classe

Spazio dei nomi Microsoft.AnalysisServices