Updates the database with changes that are made to the list item.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
The Update method returns an SPException exception if the list item has been modified since it was created. For example, this exception is returned if the code returns an SPListItem object but code in a different HTTP request has updated the item previously. This exception is also raised when the data that was supplied for updating an item is invalid.
When a document is checked out from a document library, its metadata cannot be modified by using the Update method.
For information about specific data formats that are used for list items in Windows SharePoint Services, see the SPListItem class.