Partilhar via


SPItemEventReceiver Members

Include Protected Members
Include Inherited Members

Provides methods for trapping events that occur to items. This class is never instantiated.

The SPItemEventReceiver type exposes the following members.

Constructors

  Name Description
Public method SPItemEventReceiver Initializes a new instance of the SPItemEventReceiver class.

Top

Properties

  Name Description
Protected property EventFiringDisabled Obsolete. Boolean property that announces whether event firing is currently enabled or disabled. (Inherited from SPEventReceiverBase.)
Protected property EventFiringEnabled Gets or sets a value that indicates whether event firing is enabled. (Inherited from SPEventReceiverBase.)

Top

Methods

  Name Description
Public method ContextEvent This member is reserved for internal use and is not intended to be used directly from your code.
Protected method DisableEventFiring Obsolete. Prevents events from being raised. (Inherited from SPEventReceiverBase.)
Protected method EnableEventFiring Obsolete. Enables events to be raised. (Inherited from SPEventReceiverBase.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ItemAdded Handles the asynchronous event that occurs after an item is added.
Public method ItemAdding Handles the synchronous event that occurs before an item is added.
Public method ItemAttachmentAdded Handles the asynchronous event that occurs after an attachment is added to an item.
Public method ItemAttachmentAdding Handles the synchronous event that occurs before an attachment is added to an item.
Public method ItemAttachmentDeleted Handles the asynchronous event that occurs after an attachment is removed from an item.
Public method ItemAttachmentDeleting Handles the synchronous event that occurs before an attachment is removed from an item.
Public method ItemCheckedIn Handles the asynchronous event that occurs after an item is checked in.
Public method ItemCheckedOut Handles the asynchronous event that occurs after an item is checked out.
Public method ItemCheckingIn Handles the synchronous event that occurs before an item is checked in.
Public method ItemCheckingOut Handles the synchronous event that occurs before an item is checked out.
Public method ItemDeleted Handles the asynchronous event that occurs after an item is deleted.
Public method ItemDeleting Handles the synchronous event that occurs before an item is deleted.
Public method ItemFileConverted Handles the asynchronous event that occurs after a file in a document library is converted from one type to another.
Public method ItemFileMoved Handles the asynchronous event that occurs after a file is moved.
Public method ItemFileMoving Handles the synchronous event that occurs before a file is moved.
Public method ItemUncheckedOut Handles the asynchronous event that occurs after an item is unchecked out.
Public method ItemUncheckingOut Handles the synchronous event that occurs before an item checkout is discarded.
Public method ItemUpdated Handles the asynchronous event that occurs after an item is changed.
Public method ItemUpdating Handles the synchronous event that occurs before an item is changed.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPItemEventReceiver Class

Microsoft.SharePoint Namespace