SPEventReceiverDefinitionCollection.Web Property
Gets the site to which the event receiver definitions apply.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Web As SPWeb
Get
'Usage
Dim instance As SPEventReceiverDefinitionCollection
Dim value As SPWeb
value = instance.Web
public SPWeb Web { get; }
Property Value
Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the site.
Remarks
Event handlers are registered at the site or site collection level to respond to events. When a SharePoint Foundation object has some action performed on it by the user, the object generates an event. This event that specified that an action occurred must be received by the appropriate event host within the SharePoint Foundation farm for processing.
See Also
Reference
SPEventReceiverDefinitionCollection Class
SPEventReceiverDefinitionCollection Members