Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPField.ParseAndSetValue method

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)

public virtual void ParseAndSetValue(
	SPListItem item,
	string value


Type: Microsoft.SharePoint.SPListItem

The list item whose field is set to the specified value.

Type: System.String

The value to which the list item is set.


item is null .


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 .

© 2015 Microsoft