Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When overridden in a derived class, sets the specified field item to the specified value.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Sub ParseAndSetValue ( _
item As SPListItem, _
value As String _
)
'Usage
Dim instance As SPField
Dim item As SPListItem
Dim value As String
instance.ParseAndSetValue(item, value)
public virtual void ParseAndSetValue(
SPListItem item,
string value
)
item
Type: Microsoft.SharePoint.SPListItemThe list item whose field is set to the specified value.
value
Type: System.StringThe value to which the list item is set.
Exception | Condition |
---|---|
ArgumentNullException | item is null . |
SPException | value is required and is either empty or null . |
The default implementation sets the specified list item to the specified value. If the value is required, value cannot be null . If the value is not required and value is null , this method sets the value of the field in item to null .