Field.ValidateSetValue 方法

Validates and 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 ValidateSetValue ( _
    item As ListItem, _
    value As String _
)
用法
Dim instance As Field
Dim item As ListItem
Dim value As String

instance.ValidateSetValue(item, value)
public void ValidateSetValue(
    ListItem item,
    string value
)

参数

  • value
    类型:System.String

    Specifies the new value for the field (2).

备注

The item parameter must not be 空引用(无 在 Visual Basic 中).

另请参阅

引用

Field 类

Field 成员

Microsoft.SharePoint.Client 命名空间