ReservationCollection.IEnumerable.GetEnumerator Method


Returns an enumerator that can iterate through the ReservationCollection. This method cannot be inherited.

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
abstract member System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
override this.System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator



An enumerator that can iterate through the ReservationCollection.



The operation is invalid for one of the following reasons:

  • The enumeration has ended.

  • The collection has been modified.

  • The enumeration has not been started. A call to MoveNext() must be made.

The method was called after the sequence has been disposed of.

There is not enough memory to continue the execution of the program.

Access for the specified log store is denied by the operating system.


This member is an explicit interface member implementation. It can be used only when the ReservationCollection instance is cast to an IEnumerable interface.

Applies to