0 out of 1 rated this helpful - Rate this topic

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
)

Parameters

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.
ExceptionCondition
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 item to null .

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.