Share via


EventReceivers Element (DeploymentManifest - SPList)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents a SharePoint event receiver object container, or collection (SPEventReceiverDefinitionCollection), for implementing event handling on SharePoint list (SPList) objects.

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

USAGE
<List>
   <EventReceivers>
      <EventReceiver />
   </EventReceivers>
</List>

Type

SPEventReceiverDefinitionCollection

Attributes

Attribute

Type

Description

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

Reference

SPEventReceiverDefinitionCollection

Concepts

DeploymentManifest Schema