แก้ไข

แชร์ผ่าน


PrintJobInfoCollection(PrintQueue, String[]) Constructor

Definition

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.

public:
 PrintJobInfoCollection(System::Printing::PrintQueue ^ printQueue, cli::array <System::String ^> ^ propertyFilter);
public PrintJobInfoCollection (System.Printing.PrintQueue printQueue, string[] propertyFilter);
new System.Printing.PrintJobInfoCollection : System.Printing.PrintQueue * string[] -> System.Printing.PrintJobInfoCollection
Public Sub New (printQueue As PrintQueue, propertyFilter As String())

Parameters

printQueue
PrintQueue

The print queue whose print jobs will populate the collection.

propertyFilter
String[]

A list of a subset of the properties of a PrintSystemJobInfo object.

Remarks

The PrintSystemJobInfo objects in the collection are initialized only in those properties that are listed in the propertyFilter.

Applies to