Compartilhar via


SPItemEventReceiver.ItemFileMoving Method

Handles the synchronous event that occurs before 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 ItemFileMoving ( _
    properties As SPItemEventProperties _
)
'Usage
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties

instance.ItemFileMoving(properties)
public virtual void ItemFileMoving(
    SPItemEventProperties properties
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

properties is null .

See Also

Reference

SPItemEventReceiver Class

SPItemEventReceiver Members

Microsoft.SharePoint Namespace