Export (0) Print
Expand All

SPFieldNumber.ParseAndSetValue method

Parses the specified string to a formatted double value and sets it as this field's value for the specified item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public override void ParseAndSetValue(
	SPListItem item,
	string value
)

Parameters

item
Type: Microsoft.SharePoint.SPListItem

The list item for which to set the field value.

value
Type: System.String

The string value of this currency field.

ExceptionCondition
ArgumentNullException

The item parameter is null.

Show:
© 2014 Microsoft