DzListViewItem: delete vs. remove

In DzListViewItem I found two methods: deleteItem() and removeItem(). It seems to me that both will remove a child item from the parent item. However, I am somewhat surprised that the description 'item - The item to insert.' can be found in removeItem(). Can someone tell me what the difference is between deleteItem() and removeItem()?

Comments

  • Richard HaseltineRichard Haseltine Posts: 100,739

    Insert is/was a copy/paste slip - it means remove. Remove removes the entry, but doesn't delete it so it could be added to something else; deleet actually clears the data entirely, so that it would need to be recreated if ti was wanted again.

  • kabexefkabexef Posts: 75

    Richard Haseltine said:

    Insert is/was a copy/paste slip - it means remove. Remove removes the entry, but doesn't delete it so it could be added to something else; deleet actually clears the data entirely, so that it would need to be recreated if ti was wanted again.

    Thanks for clarification. This is a very useful information.

Sign In or Register to comment.