Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.SPListItem
The list item whose field is set to the specified value.
value
Type: System.String
The 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 .
Please sign in to use this experience.
Sign in