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 a file is renamed; that is "moved" within a document library.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Sub ItemFileMoving ( _
properties As SPItemEventProperties _
)
'Usage
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemFileMoving(properties)
public virtual void ItemFileMoving(
SPItemEventProperties properties
)
properties
Type: Microsoft.SharePoint.SPItemEventPropertiesThe properties of the event handler.
Exception | Condition |
---|---|
ArgumentNullException | properties is null . |
Note
This method is misnamed. It does not handle a file movement across document libraries, regardless of whether the movement is done programmatically or through the SharePoint user interface.