Click to Rate and Give Feedback

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
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)
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

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Event is also fired when you add new content type to Document Library!!!!      Martin Winzig   |   Edit   |   Show History

In event is referente to document template.

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

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker