ReservationCollection.IEnumerable.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.