SPField.ParseValue method
SharePoint 2013
When overridden in a derived class, parses a potential value of the field and returns an object that can be assigned as the value of the field.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- item
- Type: Microsoft.SharePoint.SPListItem
An SPListItem containing a field whose new value needs to be validated.
- value
- Type: System.String
A string with the value to be parsed and returned.
The default implementation simply returns value (even if it is null); unless value is an empty string, in which case null is returned.
Consider calling this method in an override of the ValidateAndParseValue(SPListItem, String) method.