PrintServer.GetPrintQueues Method (PrintQueueIndexedProperty[], EnumeratedPrintQueueTypes[])

 

Gets a collection of print queues of the specified types. These print queues are only initialized in the properties that are specified in the PrintQueueIndexedProperty array.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

public PrintQueueCollection GetPrintQueues(
	PrintQueueIndexedProperty[] propertiesFilter,
	EnumeratedPrintQueueTypes[] enumerationFlag
)

Parameters

propertiesFilter
Type: System.Printing.PrintQueueIndexedProperty[]

The properties that the constructor initializes.

enumerationFlag
Type: System.Printing.EnumeratedPrintQueueTypes[]

An array of values that represent the types of print queues in the collection.

Return Value

Type: System.Printing.PrintQueueCollection

The PrintQueueCollection of the print server.

The queues in the collection are only initialized in the properties that are listed in the PrintQueueIndexedProperty array.

.NET Framework
Available since 3.0
Return to top
Show: