共用方式為


SPView.IncludeRootFolder property

取得或設定布林值,指定是否在清單檢視中傳回的根資料夾。

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

Syntax

'宣告
Public Property IncludeRootFolder As Boolean
    Get
    Set
'用途
Dim instance As SPView
Dim value As Boolean

value = instance.IncludeRootFolder

instance.IncludeRootFolder = value
public bool IncludeRootFolder { get; set; }

Property value

Type: System.Boolean
若要在檢視中 ; 傳回的根資料夾true否則, false。

請參閱

參照

SPView class

SPView members

Microsoft.SharePoint namespace