This documentation is archived and is not being maintained.

PrintQueueCollection Class

Represents a collection of PrintQueue objects.

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

'Declaration
Public Class PrintQueueCollection _
	Inherits PrintSystemObjects _
	Implements IEnumerable(Of PrintQueue), IEnumerable,  _
	IDisposable
'Usage
Dim instance As PrintQueueCollection

The following example shows how to use this collection to test a printer's capabilities and configure a print job to take advantage of them. For the complete example, see Creating an XPS Document Sample.

No code example is currently available or this language may not be supported.

System.Object
  System.Printing.PrintSystemObjects
    System.Printing.PrintQueueCollection

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: