次の方法で共有


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

'Declaration
Public Property ValidationFormula As String
    Get
    Set
'Usage
Dim instance As SPField
Dim value As String

value = instance.ValidationFormula

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