Skip to main content

IFileSystemItemEditor.MoveItem(FileSystemMoveItemOptions) Method

Moves a file system item (file or directory).

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

void MoveItem(
    FileSystemMoveItemOptions options
)

Parameters

Name Type Description
options FileSystemMoveItemOptions

Options related to the operation.

Remarks

The following example illustrates how to overwrite the MoveItem method.

Refer to the Binding to Entity Framework ORM online demo to get the whole example code.

public void MoveItem(FileSystemMoveItemOptions options) {
    var item = options.Item;
    var destinationDirectory = options.DestinationDirectory;
    //...
}
See Also