Share via


Web.Folders Property

Gets the collection of all first-level folders in the Web site.

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 ReadOnly Property Folders As FolderCollection
    Get
'Usage
Dim instance As Web
Dim value As FolderCollection

value = instance.Folders
[RemoteAttribute]
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