PrintQueue.IsShared 属性

定义

获取用于指示打印机能否供联网的其他计算机使用的值。Gets a value that indicates whether the printer is available for use by other computers on the network.

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

属性值

如果打印机为共享的,则为 true;否则为 falsetrue if the printer is shared; otherwise, false.

注解

此属性仅可通过 Windows 通用打印对话框进行设置。This property can only be set with the Windows common print dialog.

适用于