EventReceivers Element (DeploymentManifest - SPFile)

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

Represents a Windows SharePoint Services 3.0 event receiver object container or collection (SPEventReceiverDefinitionCollection) for implementing event handling on SharePoint file (SPFile) objects.

Definition

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

Type

SPEventReceiverDefinitionCollection

Elements and attributes

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

Attributes

None

Child elements

EventReceiver Element (DeploymentManifest)

Parent elements

File Element (DeploymentManifest - SPGenericObject)

Remarks

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

See also