LastError Property (ICommand)

LastError Property (ICommand) | Send Feedback
See Also

Gets or sets the status of the last-run command.

# Syntax

Visual Basic |
--- | ---
    Property LastError As dsRunCommandError_e

C# |
--- | ---
    dsRunCommandError_e LastError {get; set;}

JavaScript |
--- | ---
    get_LastError () : String
    put_LastError (
       NewVal : String
    )

COM native C++ |
--- | ---
    HRESULT get_LastError(
       dsRunCommandError_e* Val
    )
    HRESULT put_LastError(
       dsRunCommandError_e NewVal

C++ |
--- | ---
    DSRESULT get_LastError (
       dsRunCommandError_e* Val
    )
    DSRESULT put_LastError(
       dsRunCommandError_e NewVal
    )

#### Property Value

Status of the last-run command as defined in dsRunCommandError_e

# See Also

####

ICommand Interface
ICommand Members
IApplication::RunCommand Method
ICommandMessage::GetLastError Method