3.2.5.87.2.1.9 ValidateUpdateListItem
Return Type: CSOM array of Microsoft.SharePoint.Client.ListItemFormUpdateValue
Validates and sets the values of the specified collection of fields (2) for the list item and, if successfully validated, commits all changes. Returns the modified list of values with updated exception information.
Parameters:
formValues: Specifies a collection of field internal names and values for the given field (2).
Type: CSOM array of Microsoft.SharePoint.Client.ListItemFormUpdateValue
If the collection is empty, no update will take place.
It MUST NOT be NULL.
bNewDocumentUpdate: Specifies whether the list item is a document being updated after upload.
Type: CSOM Boolean
checkInComment: Check-in comment, if any. This parameter is only applicable when the list item is checked out.
Type: CSOM String
Error Code |
Error Type Name |
Condition |
---|---|---|
-2147024809 |
System.ArgumentException |
A field (2) with the specified internal name does not exist. |