Share via


List.ValidationMessage property

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

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

Syntax

'Declaration
Public Property ValidationMessage As String
    Get
    Set
'Usage
Dim instance As List
Dim value As String

value = instance.ValidationMessage

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

Property value

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

Remarks

It must not be a null reference (Nothing in Visual Basic). Its length must be equal to or less than 1024.

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace