共用方式為


OutPrinterCommand.Name Property

Definition

Optional name of the printer to print to. The alias allows "lp -P printer".

public string Name { get; set; }
[System.Management.Automation.Alias(new System.String[] { "PrinterName" })]
[System.Management.Automation.Parameter(Position=0)]
public string Name { get; set; }
member this.Name : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "PrinterName" })>]
[<System.Management.Automation.Parameter(Position=0)>]
member this.Name : string with get, set
Public Property Name As String

Property Value

Attributes

Applies to