This documentation is archived and is not being maintained.

SPFieldCalculated.Formula Property

Windows SharePoint Services 3

Gets or sets the formula that is used for calculation in the field.

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

public string Formula { get; set; }

Property Value

Type: System.String
A string that contains the formula. For information about the different kinds of formulas that you can assign to the Formula property, see Calculated Field Formulas.