ListItem.ValidateUpdateListItem method
Validates and sets the values of the specified collection of fields for the list item.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function ValidateUpdateListItem ( _
formValues As IList(Of ListItemFormUpdateValue), _
bNewDocumentUpdate As Boolean _
) As IList(Of ListItemFormUpdateValue)
'Usage
Dim instance As ListItem
Dim formValues As IList(Of ListItemFormUpdateValue)
Dim bNewDocumentUpdate As Boolean
Dim returnValue As IList(Of ListItemFormUpdateValue)
returnValue = instance.ValidateUpdateListItem(formValues, _
bNewDocumentUpdate)
public IList<ListItemFormUpdateValue> ValidateUpdateListItem(
IList<ListItemFormUpdateValue> formValues,
bool bNewDocumentUpdate
)
Parameters
formValues
Type: System.Collections.Generic.IList<ListItemFormUpdateValue>Specifies a collection of field internal names and values for the given field.It MUST NOT be NULL.
bNewDocumentUpdate
Type: System.BooleanSpecifies whether the list item is a document being updated after upload.
Return value
Type: System.Collections.Generic.IList<ListItemFormUpdateValue>