Метод Field.ValidateSetValue
Validates and sets the value of the field for the list item based on an implementation-specific transformation of the value.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Sub ValidateSetValue ( _
item As ListItem, _
value As String _
)
'Применение
Dim instance As Field
Dim item As ListItem
Dim value As String
instance.ValidateSetValue(item, value)
public void ValidateSetValue(
ListItem item,
string value
)
Параметры
item
Тип: Microsoft.SharePoint.Client.ListItemSpecifies the list item to be updated with the new value.
value
Тип: System.StringSpecifies the new value for the field (2).
Замечания
The item parameter must not be пустая ссылка (Nothing в Visual Basic).