EventReceivers Element (DeploymentManifest - SPList)

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 list (SPList) objects.

Definition

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

Type

SPEventReceiverDefinitionCollection

Elements and attributes

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

Attributes

None

Child elements

EventReceiver Element (DeploymentManifest)

Parent elements

List Element (DeploymentManifest)

Remarks

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

See also