次の方法で共有


ListItem.ParseAndSetFieldValue メソッド

Sets the value of the field for the list item based on an implementation specific transformation of the value.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Sub ParseAndSetFieldValue ( _
    fieldName As String, _
    value As String _
)
'使用
Dim instance As ListItem
Dim fieldName As String
Dim value As String

instance.ParseAndSetFieldValue(fieldName, _
    value)
public void ParseAndSetFieldValue(
    string fieldName,
    string value
)

パラメーター

  • fieldName
    型: System.String

    Specifies the field internal name.

  • value
    型: System.String

    Specifies the new value for the field.

例外

例外 条件
[Microsoft.SharePoint.SPFieldValueException]

Field is required and value is null 参照 (Visual Basic のNothing ) or empty, the field does not support setting values, or the value cannot be converted to the type of the field. Error code: -2130575155.

[System.ArgumentException]

Field does not exist. Error code: -2147024809.

関連項目

参照先

ListItem クラス

ListItem メンバー

Microsoft.SharePoint.Client 名前空間