次の方法で共有


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)

Syntax

'Declaration
Public Overrides Sub ParseAndSetValue ( _
    item As SPListItem, _
    value As String _
)
'Usage
Dim instance As SPFieldNumber
Dim item As SPListItem
Dim value As String

instance.ParseAndSetValue(item, value)
public override void ParseAndSetValue(
    SPListItem item,
    string value
)

Parameters

  • value
    Type: System.String

    The string value of this currency field.

Exceptions

Exception Condition
ArgumentNullException

The item parameter is null.

See also

Reference

SPFieldNumber class

SPFieldNumber members

Microsoft.SharePoint namespace