SPItemEventReceiver Constructor

Initializes a new instance of the SPItemEventReceiver class.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New SPItemEventReceiver()
public SPItemEventReceiver()

Remarks

This class is not created directly. This constructor should only be called by using base() on the declaration line of a derived class.

This class provides the default implementation for all list item events. List item event receivers should inherit from SPItemEventReceiver and override the appropriate event methods.

See Also

Reference

SPItemEventReceiver Class

SPItemEventReceiver Members

Microsoft.SharePoint Namespace

Other Resources

Example: Creating a List Item Event Handler