Software Technology Tips

Whenever we delete a sharepoint list or list item from the User Interface it get stored within the recycle bin of the site. But when we delete it programmatically it get's deleted permanently.
So what we can do to store the List or List Item within the recycle bin while deleting it programmatically ?
Generally we use the list.Delete() or item.Delete() method to delete the list or item.
Instead of using the Delete() method we can use the Recycle() method i.e list.Recycle() or item.Recycle(). This will store the item within the recycle bin.

Related Tags:

Sharepoint programming

Author: Premananda Das


Let us Connect!

Awards and Achievements

Red Herringcolor DeloitteFast50 DB ZInnov1   Nascome  DB Stpi

This site uses cookies. We respect your privacy.copyright (c) Mindfire Solutions 2007-2015. Login