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 */
public String get_Comment ()

/** @property */
public void set_Comment (String inComment)

public function get Comment () : String

public function set Comment (inComment : String)

Not applicable.

Property Value

A String 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 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

Community Additions

ADD
Show: