Comment Property

PrintQueue.Comment Property

 

Gets or sets a comment about the printer.

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

abstract Comment : string with get, set
override Comment : string with get, set

Property Value

Type: System.String

A comment about the printer.

The comment is visible to users in the Windows printer list and on the Windows common print dialog. It can provide information not contained in the printer's name, model, or location properties, which are also visible in the same places; for example, "Reserved for Payroll Dept. between 3 pm and 4 pm." (The Description property enables you to store information that users cannot view unless your application makes it visible.)

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft