GetLastError Method (ICommandMessage)

GetLastError Method (ICommandMessage) | Send Feedback
See Also

Error[out]
  Status of last-run command as defined in dsRunCommandError_e

Displays the status of the last-run command in the command window.

# Syntax

Visual Basic |
--- | ---
    Function GetLastError() As dsRunCommandError_e

C# |
--- | ---
    dsRunCommandError_e GetLastError()

JavaScript |
--- | ---
    GetLastError() : String

COM native C++ |
--- | ---
    HRESULT GetLastError(
       dsRunCommandError_e* Error
    )

C++ |
--- | ---
    DSRESULT GetLastError(
       dsRunCommandError_e* Error
    )

#### Parameters

Error[out] or Return Value
  Status of last-run command as defined in dsRunCommandError_e

# See Also

####

ICommandMessage Interface
ICommandMessage Members
Application::RunCommand Method
ICommand::LastError Property

# Availability

DraftSight V1R3.0