public struct NonSwitchBoolean : ISpanParsable<NonSwitchBoolean>,
IParsable<NonSwitchBoolean>
Public Structure NonSwitchBoolean
Implements ISpanParsable(Of NonSwitchBoolean), IParsable(Of NonSwitchBoolean)
Dim instance As NonSwitchBoolean
public value class NonSwitchBoolean : ISpanParsable<NonSwitchBoolean>,
IParsable<NonSwitchBoolean>
A command line argument using this type will be a regular named argument that requires an explicit value of either "true" or "false". This is contrary to switch arguments, which do not require a value.
There is no need to use the NonSwitchBoolean structure with positional arguments, as a positional argument cannot be a switch even if its type is Boolean.
NonSwitchBoolean | Initializes a new instance of the NonSwitchBoolean structure. |
Value | Gets or sets the value. |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
Parse(ReadOnlySpanChar) | Converts the specified string span to a NonSwitchBoolean value. |
Parse(String) | Converts the specified string to a NonSwitchBoolean value. |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
TryParse(ReadOnlySpanChar, NonSwitchBoolean) | Tries to convert the specified string span to a NonSwitchBoolean value. |
TryParse(String, NonSwitchBoolean) | Tries to convert the specified string to a NonSwitchBoolean value. |
(Boolean to NonSwitchBoolean) | Converts a Boolean to a NonSwitchBoolean. |
(NonSwitchBoolean to Boolean) | Converts a NonSwitchBoolean structure to a Boolean. |