public bool IsSwitch { get; }
Public ReadOnly Property IsSwitch As Boolean
Get
Dim instance As CommandLineArgument
Dim value As Boolean
value = instance.IsSwitch
public:
property bool IsSwitch {
bool get ();
}
A switch argument is an argument that doesn't need a value; instead, its value is or depending on whether the argument is present on the command line.
A argument is a switch argument when it is not positional, and its ElementType is a Boolean.