Field.ValidateSetValue method
Validates and sets the value of the field for the list item based on an implementation-specific transformation of the value.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Sub ValidateSetValue ( _
item As ListItem, _
value As String _
)
'Usage
Dim instance As Field
Dim item As ListItem
Dim value As String
instance.ValidateSetValue(item, value)
public void ValidateSetValue(
ListItem item,
string value
)
Parameters
item
Type: Microsoft.SharePoint.Client.ListItemSpecifies the list item to be updated with the new value.
value
Type: System.StringSpecifies the new value for the field (2).
Remarks
The item parameter must not be a null reference (Nothing in Visual Basic).