Share via


SPField.DefaultFormula property

Gets or sets the default formula for a calculated field.

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

Syntax

public string DefaultFormula { get; set; }

Property value

Type: System.String
A string that contains the formula.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace