Represents command line arguments passed to an application.
| C# | Visual Basic | Visual C++ |
public class CommandLine
Public Class CommandLine
public ref class CommandLine
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| CommandLine(String) |
Creates a new CommandLine, parsing the specified command line argument string.
| |
| Arguments |
A list of non-parameter command line arguments.
| |
| EnvironmentCommandLine |
Gets a command line instance for the Environment.CommandLine.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ParameterLists |
A dictionary of lists of command line parameters. For example, the command line /include:a /include:b would result in the dictionary ["include" -> "a", "b"] | |
| Parameters |
A name-value dictionary of command line parameters.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| CommandLine | |
