DaysToShowNewIndicator property
Collapse the table of content
Expand the table of content

SPWebApplication.DaysToShowNewIndicator property

Gets or sets the number of days that the New icon appears next to new list items.

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

public int DaysToShowNewIndicator { get; set; }

Property value

Type: System.Int32
A 32-bit integer that contains the number of days. The default value is two days.
© 2015 Microsoft