ערוך

שתף באמצעות


PrintJobInfoCollection.IEnumerable.GetEnumerator Method

Definition

Gets an object that implements the generic IEnumerator interface that is closed with PrintSystemJobInfo.

 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 object that implements the generic IEnumerator interface and that can iterate through the PrintSystemJobInfo objects that the PrintJobInfoCollection contains.

Implements

Remarks

We recommend that you use the foreach statement to iterate through all members of the collection. Use GetEnumerator only when you need to customize iteration, such as by skipping every other member.

Applies to