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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property IncludeRootFolder As Boolean
    Get
    Set
'Usage
Dim instance As View
Dim value As Boolean

value = instance.IncludeRootFolder

instance.IncludeRootFolder = value
[RemoteAttribute]
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. The default value is

See Also

Reference

View Class

View Members

Microsoft.SharePoint.Client Namespace