Compartilhar via


Método QueryableXEventData.GetEnumerator

Returns an enumerator that iterates through the collection.

Namespace:  Microsoft.SqlServer.XEvent.Linq
Assembly:  Microsoft.SqlServer.XEvent.Linq (em Microsoft.SqlServer.XEvent.Linq.dll)

Sintaxe

'Declaração
Public Function GetEnumerator As IEnumerator(Of PublishedEvent)
'Uso
Dim instance As QueryableXEventData 
Dim returnValue As IEnumerator(Of PublishedEvent)

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

Valor de retorno

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

Implementa

IEnumerable<T>.GetEnumerator()

Consulte também

Referência

QueryableXEventData Classe

Namespace Microsoft.SqlServer.XEvent.Linq