Type Element (Event)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Specifies the type of event for which to register the event handler.

Definition

<Type />

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child elements

None

Parent elements

Receiver

Occurrences

Minimum: 0

Maximum: 1

Remarks

The Type element contains an integer corresponding to one of the Microsoft.SharePoint.SPEventReceiverType values.

Example

For an example of how this element is used, see Event Registrations.