PrintJobInfoCollection(PrintQueue, String[]) Constructor
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.
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
.