Share via


SPListDataValidationException.SPReason Enumeration

Describes the reason why a list item or a list item field failed validation.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableTypeAttribute(Name := "ListDataValidationFailureReason")> _
Public Enumeration SPReason
'Usage
Dim instance As SPListDataValidationException.SPReason
[ClientCallableTypeAttribute(Name = "ListDataValidationFailureReason")]
public enum SPReason

Members

Member name Description
DataFailure The data validation formula evaluates to false or to a value equivalent to false such as zero for numeric types.
FormulaError The data validation formula contains an error.

See Also

Reference

Microsoft.SharePoint Namespace