Successful

Navigation:  NxLib API > C# Interface / CLI > NxLibCommand >

Successful

Previous pageReturn to chapter overviewNext page

Checks whether the previous command execution was successful.

Note: This does not check if the command has already finished executing!

Signatures

Error handling via exception:

bool Successful()

Error handling via return code:

bool Successful(Out int returnCode)

Parameters

returnCode

The API return code.

Return Value

true, when the previous NxLib command execution was successful, i.e. there is no ErrorSymbol node under the Result node. Otherwise false.