API Reference
Enum
CommandStyle
How the equivalent command line is written.
Inheritance
- Enum
- CommandStyle
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Field CommandStyle.Posix
- Field CommandStyle.PowerShell
- Field CommandStyle.Windows
- Property Form.CommandStyle
Accepted by parameters 3
- Method CommandLine.Argument
- Method CommandLine.Parameter
- Method CommandLine.Quote
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from Enum
Parameters
- obj Object?
ToString 4 overloads
public String ToString(IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
public String ToString(String? format, IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String?
- provider IFormatProvider?
Values
public const CommandStyle PowerShell #PowerShell: Invoke-Thing -Name 'a b' -Server a,b -Force.
Value:
0public const CommandStyle Windows #Windows-style CLIs: thing /name:"a b" /server:a,b /force.
Value:
2