Required 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.Required Property

Windows SharePoint Services 3

Gets or sets a Boolean value that determines whether the field requires values.

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

public bool Required { get; set; }

Property Value

Type: System.Boolean
true if the field requires values; otherwise, false.
© 2015 Microsoft