Web.Folders property

Gets the collection of all first-level folders in the website.

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

Syntax

'Declaration
Public ReadOnly Property Folders As FolderCollection
    Get
'Usage
Dim instance As Web
Dim value As FolderCollection

value = instance.Folders
public FolderCollection Folders { get; }

Property value

Type: Microsoft.SharePoint.Client.FolderCollection
A FolderCollection object that represents the folders.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace