共用方式為


SPField.ValidationFormula property

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

Syntax

'宣告
Public Property ValidationFormula As String
    Get
    Set
'用途
Dim instance As SPField
Dim value As String

value = instance.ValidationFormula

instance.ValidationFormula = value
public string ValidationFormula { get; set; }

Property value

Type: System.String
驗證公式String方式呈現。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace