Share via


SPWebEventProperties.Web property

Gets the Web site for which the event occurred.

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

Syntax

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

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

Property value

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

See also

Reference

SPWebEventProperties class

SPWebEventProperties members

Microsoft.SharePoint namespace