SwitchParameter.IsPresent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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