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
Syntaxpublic int ExitCode { get; protected set; }
Public Property ExitCode As Integer
Get
Protected Set
Dim instance As ShellCommand
Dim value As Integer
value = instance.ExitCode
instance.ExitCode = value
public:
property int ExitCode {
int get ();
protected: void set (int value);
}
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