SPModuleCollection.Web property

Gets the parent 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 SPModuleCollection
Dim value As SPWeb

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

Property value

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

See also

Reference

SPModuleCollection class

SPModuleCollection members

Microsoft.SharePoint namespace