List.ValidationMessage 属性

Gets or sets a value that specifies the error message returned when data validation fails for a list item.

命名空间:  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 Property ValidationMessage As String
    Get
    Set
用法
Dim instance As List
Dim value As String

value = instance.ValidationMessage

instance.ValidationMessage = value
public string ValidationMessage { get; set; }

属性值

类型:System.String
Returns a String instance representing the error message returned when data validation fails for a list item.

备注

It must not be 空引用(无 在 Visual Basic 中). Its length must be equal to or less than 1024.

另请参阅

引用

List 类

List 成员

Microsoft.SharePoint.Client 命名空间