The method MarkForDeletion marks or unmarks the collection item having the index ItemIdx to be deleted. Setting the parameter DelMark to TRUE marks the corresponding item, setting DelMark to FALSE unmarks it. Please note that no actual deletion is taking place. You have to call DeleteMarkedItems to actually remove the marked items.
|