PrintQueue.IsHidden 属性

定义

获取用于指示打印队列是否隐藏在应用程序用户界面中的值。Gets a value that indicates whether the print queue is hidden in your application's user interface.

public:
 property bool IsHidden { bool get(); };
public bool IsHidden { get; }
member this.IsHidden : bool
Public ReadOnly Property IsHidden As Boolean

属性值

如果打印队列隐藏在 Windows 用户界面中,则为 true;否则为 falsetrue if the print queue is hidden in the Windows user interface; otherwise, false.

注解

如果将此属性设置为 "true",则不会自动隐藏打印队列。You do not automatically hide the print queue when you set this property to true. 你的程序仍然必须采取措施以确保它未出现在程序接口中的任何队列列表中。Your program still must take steps to make sure it does not appear in any list of queues in the program's interface.

无法在 Windows 用户界面中隐藏打印队列,如 "打印机和传真" 列表。Print queues cannot be hidden in the Windows user interface, such as the Printers and Faxes list.

适用于