Edit

PrintJobInfoCollection Class

Definition

Represents one or more PrintSystemJobInfo objects.

public ref class PrintJobInfoCollection : System::Printing::PrintSystemObjects, IDisposable, System::Collections::Generic::IEnumerable<System::Printing::PrintSystemJobInfo ^>
public class PrintJobInfoCollection : System.Printing.PrintSystemObjects, IDisposable, System.Collections.Generic.IEnumerable<System.Printing.PrintSystemJobInfo>
type PrintJobInfoCollection = class
    inherit PrintSystemObjects
    interface seq<PrintSystemJobInfo>
    interface IEnumerable
    interface IDisposable
Public Class PrintJobInfoCollection
Inherits PrintSystemObjects
Implements IDisposable, IEnumerable(Of PrintSystemJobInfo)
Inheritance
PrintJobInfoCollection
Implements

Remarks

Caution

Classes within the System.Printing namespace are not supported for use within a Windows service or ASP.NET application or service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.

If you want to print from a Windows Forms application, see the System.Drawing.Printing namespace.

Constructors

Name Description
PrintJobInfoCollection(PrintQueue, String[])

Initializes a new instance of the PrintJobInfoCollection class that contains the PrintSystemJobInfo objects for every job that is in the specified PrintQueue and that initializes those objects only in the properties that are listed in the specified property filter.

Methods

Name Description
Add(PrintSystemJobInfo)

Adds a member to the PrintJobInfoCollection.

Dispose()

Releases all resources used by the PrintSystemObjects.

(Inherited from PrintSystemObjects)
Dispose(Boolean)

Releases the unmanaged resources that are being used by the PrintJobInfoCollection and optionally releases the managed resources.

GetEnumerator()

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

GetNonGenericEnumerator()

Gets an object that implements the non-generic IEnumerator interface.

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

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

Applies to