Partilhar via


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property DaysToShowNewIndicator As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Integer

value = instance.DaysToShowNewIndicator

instance.DaysToShowNewIndicator = value
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.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace