Export (0) Print
Expand All

SPListItem.Update method

Updates the database with changes that are made to the list item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public override void Update()

ExceptionCondition
SPException

The list item has been modified since it was created.

-or-

The data that was supplied for updating an item is invalid.

NoteNote

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 SharePoint Foundation, see the SPListItem class.

Show:
© 2014 Microsoft