다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property ValidationFormula As String
    Get
    Set
'Usage
Dim instance As SPField
Dim value As String

value = instance.ValidationFormula

instance.ValidationFormula = value
[ClientCallableAttribute]
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