PrintQueue.Comment 属性

定义

获取或设置有关打印机的注释。Gets or sets a comment about the printer.

public:
 virtual property System::String ^ Comment { System::String ^ get(); void set(System::String ^ value); };
public virtual string Comment { get; set; }
member this.Comment : string with get, set
Public Overridable Property Comment As String

属性值

有关打印机的注释。A comment about the printer.

注解

注释对 Windows 打印机列表中的用户和 Windows 通用打印对话框都可见。The comment is visible to users in the Windows printer list and on the Windows common print dialog. 它可以提供未包含在打印机的 "名称"、"型号" 或 "位置" 属性中的信息,这些信息也会显示在同一位置;例如,"为工资单部门保留了 3 pm 和 4 pm 之间。"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." Description 属性使你能够存储用户无法查看的信息,除非应用程序使其可见。)(The Description property enables you to store information that users cannot view unless your application makes it visible.)

适用于