PhysicalFileSystemProvider.MoveItem(FileSystemMoveItemOptions) Method

Moves a file system item (file or directory).

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll


public virtual void MoveItem(
    FileSystemMoveItemOptions options


Name Type Description
options FileSystemMoveItemOptions

Options related to the operation.


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