This documentation is archived and is not being maintained.

PrintQueue.Comment Property

Gets or sets a comment about the printer.

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

'Declaration
Public Overridable Property Comment As String
'Usage
Dim instance As PrintQueue 
Dim value As String 

value = instance.Comment

instance.Comment = value

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.)

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: