DefaultValue Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPField.DefaultValue Property

Windows SharePoint Services 3

Gets or sets the default value for a field.

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

public virtual string DefaultValue { get; set; }

Property Value

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