Skip to main content

FileSystemRenameItemOptions.ItemNewName Property

Gets a file system item’s new name.

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public string ItemNewName { get; }

Property Value

Type Description
String

The new name.

Remarks

public class MyFileSystemProvider : IFileSystemItemEditor {
    //...
    public void RenameItem(FileSystemRenameItemOptions options) {
        var item = options.Item;
        var fileItem = GetFileItem(item);
        fileItem.Name = options.ItemNewName;
        //...
    }
}

Concepts

Online Demos

See Also