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 Property DefaultFormula As String
    Get
    Set

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.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace