SPField.ValidationFormula property

Indicates the formula referenced by the field and is evaluated when a list item is added or updated.

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

Syntax

public string ValidationFormula { get; set; }

Property value

Type: System.String
A String representation of the validation formula.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace