CommandPattern

Gets or sets the command string that is matched to identify the command.

Syntax

string CommandPattern {get; set;}

Property value

The path to the command string.

Discussion

Use the CommandPatternType property to get or set the type of command-pattern string matching to use.

Exceptions

CommandPattern may throw the following exception:

  • ArgumentException if the command pattern value is empty or null.

Example

Glob expression: "rm ./\*"

Regular expression: "!finger sjohan \| epage"