Επεξεργασία

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


ReservationCollection.GetEnumerator Method

Definition

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

public:
 virtual System::Collections::Generic::IEnumerator<long> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<long> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<int64>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<int64>
Public Function GetEnumerator () As IEnumerator(Of Long)

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.

Applies to