共用方式為


SPWebApplication.DaysToShowNewIndicator property

取得或設定的 [新增] 圖示顯示新的清單項目] 旁的天數。

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

Syntax

'宣告
Public Property DaysToShowNewIndicator As Integer
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As Integer

value = instance.DaysToShowNewIndicator

instance.DaysToShowNewIndicator = value
public int DaysToShowNewIndicator { get; set; }

Property value

Type: System.Int32
32 位元整數內含的天數。預設值為 2 天。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace