EventReceivers Element (DeploymentManifest - SPWeb)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Represents a SharePoint event receiver object container or collection (SPEventReceiverDefinitionCollection) for implementing event handling on SharePoint Web (SPWeb) objects.

Definition

DECLARATION
<xs:element name="EventReceivers"
        type="SPEventReceiverDefinitionCollection"
        minOccurs="0" maxOccurs="1"
/>
USAGE
<Web>
        <EventReceivers>
                <EventReceiver />
        </EventReceivers>
</Web>

Type

SPEventReceiverDefinitionCollection

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child elements

EventReceiver Element (DeploymentManifest)

Parent elements

Web Element (DeploymentManifest)

Remarks

This element is one of four EventReceivers elements; each derives from a different element hierarchy, as follows:

See also