Click or drag to resize
Ranorex

CommandLine Class

Represents command line arguments passed to an application.
Inheritance Hierarchy
SystemObject
  Ranorex.CoreCommandLine

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class CommandLine

The CommandLine type exposes the following members.

Constructors
  NameDescription
Public methodCommandLine
Creates a new CommandLine, parsing the specified command line argument string.
Top
Properties
  NameDescription
Public propertyArguments
A list of non-parameter command line arguments.
Public propertyStatic memberEnvironmentCommandLine
Gets a command line instance for the Environment.CommandLine.
Public propertyParameterLists
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"]
Public propertyParameters
A name-value dictionary of command line parameters.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Converts back to a command line string. Arguments are listed before parameters. Both sorted alphabetically to always produce deterministic result.
(Overrides ObjectToString.)
Top
See Also