Field.ValidateSetValue - Méthode
Validates and sets the value of the field for the list item based on an implementation-specific transformation of the value.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Sub ValidateSetValue ( _
item As ListItem, _
value As String _
)
'Utilisation
Dim instance As Field
Dim item As ListItem
Dim value As String
instance.ValidateSetValue(item, value)
public void ValidateSetValue(
ListItem item,
string value
)
Paramètres
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).
Remarques
The item parameter must not be une référence Null (Rien dans Visual Basic).