SPItemEventReceiver.ItemFileMoved Method
Handles the asynchronous event that occurs after a file is moved.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overridable Sub ItemFileMoved ( _
properties As SPItemEventProperties _
)
'Usage
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemFileMoved(properties)
public virtual void ItemFileMoved(
SPItemEventProperties properties
)
Parameters
properties
Type: Microsoft.SharePoint.SPItemEventPropertiesThe properties of the event handler.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | properties is null . |
Remarks
Before and After properties are guaranteed for postback events on documents, but Before properties are not available for postback events on list items.