This topic has not yet been rated - Rate this topic

SPListDataValidationException.SPValidationType Enumeration

SharePoint 2010

Describes the type of validation that caused a failure.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableTypeAttribute(Name = "ListDataValidationType")]
public enum SPValidationType
Member name Description
UserFormulaField The value failed validation by a field validation formula created by a list author.
UserFormulaItem The value failed validation by an item validation formula created by a list author.
RequiredField No value was provided for a required field.
ChoiceField The value is not one of the available choices for the field. For more information, see the EnforceDataValidation property.
MinMaxField The value is not within the bounds specified by the field's MinimumValue and MaximumValue properties.
TextField The value is longer than the field’s MaxLength constraint.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ