Click or drag to resize

ShellCommandExitCode Property

Gets or sets the exit code for the command.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public int ExitCode { get; protected set; }

Property Value

Type: Int32
The exit code for the command.
Remarks

If your application doesn't process the exit code, it is recommended to return the value of the ExitCode property to the operating system by returning it from the Main method or setting the ExitCode property.

See Also