Type used to define a parameter on a cmdlet script of function that can only be used as a switch.
public value class SwitchParameter
public struct SwitchParameter
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct SwitchParameter
type SwitchParameter = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type SwitchParameter = struct
Public Structure SwitchParameter
Returns true if the parameter was specified on the command line, false otherwise.
PresentStatic method that returns a instance of SwitchParameter that indicates that it is present.
Methods Equals(Object)Compare this switch parameter to another object.
GetHashCode()Returns the hash code for this switch parameter.
ToBool()Explicit method to convert a SwitchParameter to a boolean value.
ToString()Returns the string representation for this object.
OperatorsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4