SPField.DefaultFormula property
Gets or sets the default formula for a calculated field.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property DefaultFormula As String
Get
Set
'Usage
Dim instance As SPField
Dim value As String
value = instance.DefaultFormula
instance.DefaultFormula = value
public string DefaultFormula { get; set; }
Property value
Type: System.String
A string that contains the formula.