Share via


SPFolderCollection.Web property

Gets the parent Web site of the collection.

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

Syntax

'Declaration
Public ReadOnly Property Web As SPWeb
    Get
'Usage
Dim instance As SPFolderCollection
Dim value As SPWeb

value = instance.Web
public SPWeb Web { get; }

Property value

Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the parent site.

See also

Reference

SPFolderCollection class

SPFolderCollection members

Microsoft.SharePoint namespace