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

  • value
    Type: System.String

    Specifies the new value for the field (2).

Remarks

The item parameter must not be a null reference (Nothing in Visual Basic).

See also

Reference

Field class

Field members

Microsoft.SharePoint.Client namespace