共用方式為


SPListCollection.IncludeRootFolder property

取得或設定布林值,指定是否RootFolder屬性所傳回集合中清單的根資料夾。

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

Syntax

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

value = instance.IncludeRootFolder

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

Property value

Type: System.Boolean
true如果RootFolder屬性 ; 所傳回的根資料夾否則, false。

請參閱

參照

SPListCollection class

SPListCollection members

Microsoft.SharePoint namespace