This documentation is archived and is not being maintained.

PrintQueue.Priority Property

Gets or sets a value that indicates the priority of the print queue relative to other print queues that are hosted by the same print server and that use the same physical printer.

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

public virtual int Priority { get; set; }
/** @property */
public int get_Priority ()

/** @property */
public void set_Priority (int inPriority)

public function get Priority () : int

public function set Priority (inPriority : int)

Not applicable.

Property Value

An Int32 specifying the priority for the print queue. Possible values are from 1 through 99. The default is 1.

Contrast this property with the DefaultPriority property which is about the relative priority of print jobs in the queue.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0