EventReceivers Element (DeploymentManifest - SPFile)

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 Windows SharePoint Services 3.0 event receiver object container, or collection (SPEventReceiverDefinitionCollection), for implementing event handling on SharePoint file (SPFile) objects.

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

USAGE
<File>
        <EventReceivers>
                <EventReceiver />
        </EventReceivers>
</File>

Type

SPEventReceiverDefinitionCollection

Attributes

Attribute

Type

Description

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

Reference

SPEventReceiverDefinitionCollection

Concepts

DeploymentManifest Schema