Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
 ItemAttachmentDeleted Method

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPItemEventReceiver.ItemAttachmentDeleted Method (Microsoft.SharePoint)
Asynchronous After event that occurs when after a user removes an attachment from an item.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Overridable Sub ItemAttachmentDeleted ( _
    properties As SPItemEventProperties _
)
Visual Basic (Usage)
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties

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

Parameters

properties

The ItemAttachmentDeleted event occurs when an attachment is added to a list item but no other updates occur. The event occurs after the ItemUpdated event if other changes are made to the item.

This event does not occur if the item itself is removed.

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
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker