Skip to content

Remove Object from List

Function Description

TIP

This command is used to remove a specified item from an object list

Configuration Item Description

General

Command Input

  • ListTList<TObject>: Enter the object list variable

  • Removal MethodInteger: Select whether to remove by index or by object

  • Object to RemoveTObject: Enter the object to be removed

  • Position to RemoveInteger: Enter the position to remove. Counting forwards: the first item is 0, the second item is 1, and so on; counting backwards: the last item is -1, the second to last item is -2, and so on.

Command Output

No output for the current command

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None