Share via


SPListDataValidationException.SPValidationType 枚举

Describes the type of validation that caused a failure.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Enumeration SPValidationType
用法
Dim instance As SPListDataValidationException.SPValidationType
public enum SPValidationType

成员

成员名称 说明
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.

另请参阅

引用

Microsoft.SharePoint 命名空间