Επεξεργασία

Κοινή χρήση μέσω


ReservationCollection.IEnumerable.GetEnumerator Method

Definition

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

Returns

An enumerator that can iterate through the ReservationCollection.

Implements

Exceptions

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.

Remarks

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