Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Handles the synchronous event that occurs before an attachment is added to an item.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Sub ItemAttachmentAdding ( _
properties As SPItemEventProperties _
)
'Usage
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemAttachmentAdding(properties)
public virtual void ItemAttachmentAdding(
SPItemEventProperties properties
)
properties
Type: Microsoft.SharePoint.SPItemEventPropertiesThe properties of the event handler.
Exception | Condition |
---|---|
ArgumentNullException | properties is null . |
This event occurs when an attachment is being added to a list item, but no other updates occur. This event occurs before the ItemUpdating event if other changes are made to the item.