Skip to main content

PhysicalFileSystemProvider.CopyItem(FileSystemCopyItemOptions) Method

Copies a file system item (file or directory).

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public virtual void CopyItem(
    FileSystemCopyItemOptions options
)

Parameters

Name Type Description
options FileSystemCopyItemOptions

Options related to the operation.

Remarks

The following example illustrates how to overwrite the CopyItem method.

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

IFileSystemItemEditor interface:

public void CopyItem(FileSystemCopyItemOptions options) {
    var item = options.Item;
    //...
}
See Also