ItemAdding Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPItemEventReceiver.ItemAdding Method

Windows SharePoint Services 3

Synchronous Before event that occurs when a new item is added to its containing object.

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

public virtual void ItemAdding(
	SPItemEventProperties properties
)

This event occurs in the following situations:

  • Default data is populated from a template.

  • New items are created using the browser user interface.

  • New items are added using the object model or Web service.

Show:
© 2016 Microsoft