다음을 통해 공유


EventReceivers Element (DeploymentManifest - SPFile)

Applies to: SharePoint Foundation 2010

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