Share via


SPFieldCalculated.Formula Property

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

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

Syntax

Public Property Formula As String
    Get
    Set

Dim instance As SPFieldCalculated
Dim value As String

value = instance.Formula

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

See Also

Reference

SPFieldCalculated Class

SPFieldCalculated Members

Microsoft.SharePoint Namespace