SPItemEventReceiver.ItemAdded Method (Microsoft.SharePoint)
Asynchronous After event that occurs after a new item has been added to its containing object.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Overridable Sub ItemAdded ( _
    properties As SPItemEventProperties _
)
Visual Basic (Usage)
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties

instance.ItemAdded(properties)
C#
public virtual void ItemAdded (
    SPItemEventProperties properties
)

Parameters

properties
Remarks

ItemAdded events are always paired with >ItemUpdated events. Specifically, the ItemAdded event occurs before the ItemUpdated event occurs for a particular item.

The ItemAdded event occurs if an item is restored from the Recycle Bin.

Before and After properties are guaranteed for post events on documents, but Before properties are not available for post events on list items.

See Also

Tags :


Community Content

Martin Winzig
Event is also fired when you add new content type to Document Library!!!!

In event is referente to document template.

PS I'm not sure if it is undocumented feature or a bug.

Tags :

Page view tracker