EventReceivers Element (DeploymentManifest - SPListItem)

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 item (SPListItem) objects.

Definition

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

Type

SPEventReceiverDefinitionCollection

Elements and attributes

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

Attributes

None

Child elements

EventReceiver Element (DeploymentManifest)

Parent elements

ListItem Element (DeploymentManifest - SPGenericObject)

Remarks

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

See also