Export (0) Print
Expand All

ListItem.Update Method

Commits changed properties of the list item.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

[RemoteAttribute]
public virtual void Update()

ExceptionCondition
[Microsoft.SharePoint.SPDuplicateValuesFoundException]

A duplicate value was found and field values must be unique. Error code: -2130575169.

[Microsoft.SharePoint.SPException]

Field is read-only. Error code: -2147352571. List item is an instance of a recurring event which is not a recurrence exception, the list item is a workflow task whose parent workflow is in the recycle bin, or the parent list is a document library. Error code: -2146232832. List item was modified on the server so changes cannot be committed. Error code: -2130575305.

[Microsoft.SharePoint.SPListDataValidationException]

Data validation has failed on the field. Error code: -2130575163. Data validation has failed on the list. Error code: -2130575162. Data validation has failed on the field and the list. Error code: -2130575161.

[Microsoft.SharePoint.SPQueryThrottledException]

Throttling limit is exceeded by the operation. Error code: -2147024860.

[System.ArgumentException]

List item does not exist. Error code: -2147024809.

[System.InvalidOperationException]

List does not support this operation. Error code: -1.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

Show:
© 2014 Microsoft