Parent Object: ListItem Defined in namespace "adsk::core" and the header file is <Core/UserInterface/ListItem.h>
Description
Deletes this item from the list. In cases where there is the concept of active item in the list, like with a DropDownCommandInput, this method will fail if the item you're attempting to delete is currently active. You need to make another item active first, and then you can delete the item.