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)
Visual Basic (Declaration)
Public Overridable Sub ItemAdding ( _
properties As SPItemEventProperties _
)
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemAdding(properties)
public virtual void ItemAdding (
SPItemEventProperties properties
)
Parameters
- 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.