DefaultValue Property
Collapse the table of content
Expand the table of content

SPField.DefaultValue Property

Gets or sets the default value for a field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public virtual string DefaultValue { get; set; }

Property Value

Type: System.String
A string that contains the default value.
© 2015 Microsoft