QueryableXEventData.GetEnumerator Method
Returns an enumerator that iterates through the collection.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator(Of PublishedEvent)
'Usage
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>
Return Value
Type: System.Collections.Generic.IEnumerator<PublishedEvent>
An IEnumerator object that can be used to iterate through the collection.
Implements
IEnumerable<T>.GetEnumerator()