Share via


SPItemEventProperties.Web property

Gets the parent Web site of the list associated with the event that occurred.

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the parent Web site of the list associated with the event.

See also

Reference

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace