Share via


View.IncludeRootFolder property

Gets or sets a value that specifies whether the current folder is displayed in the list view.

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

Syntax

'Declaration
Public Property IncludeRootFolder As Boolean
    Get
    Set
'Usage
Dim instance As View
Dim value As Boolean

value = instance.IncludeRootFolder

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

Property value

Type: System.Boolean
Returns Booleantrue if the current folder is displayed in the list view otherwise returns false.

See also

Reference

View class

View members

Microsoft.SharePoint.Client namespace