Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPListDataValidationException.SPValidationType enumeration
Collapse the table of content
Expand the table of content

SPListDataValidationException.SPValidationType enumeration

Describes the type of validation that caused a failure.

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

public enum SPValidationType

Member nameDescription
UserFormulaFieldThe value failed validation by a field validation formula created by a list author.
UserFormulaItemThe value failed validation by an item validation formula created by a list author.
RequiredFieldNo value was provided for a required field.
ChoiceFieldThe value is not one of the available choices for the field. For more information, see the EnforceDataValidation property.
MinMaxFieldThe value is not within the bounds specified by the field's MinimumValue and MaximumValue properties.
TextFieldThe value is longer than the field’s MaxLength constraint.
Show:
© 2015 Microsoft