다음을 통해 공유


EventReceivers Element (DeploymentManifest - SPListItem)

Applies to: SharePoint Foundation 2010

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