次の方法で共有


SwitchParameter.IsPresent Property

Definition

Returns true if the parameter was specified on the command line, false otherwise.

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

Property Value

True if the parameter was specified, false otherwise

Applies to