Поделиться через


EventReceivers Element (DeploymentManifest - SPListItem)

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

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

USAGE
<ListItem>
        <EventReceivers>
                <EventReceiver />
        </EventReceivers>
</ListItem>

Type

SPEventReceiverDefinitionCollection

Attributes

Attribute

Type

Description

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

Reference

SPEventReceiverDefinitionCollection

Concepts

DeploymentManifest Schema