SPItemEventReceiver constructor

Initializes a new instance of the SPItemEventReceiver class.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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

Creating a Basic Event Handler