FileSystemItemActionOptionsBase.Item Property
Provides access to the processed file system item’s information.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FileSystemItemInfo Item { get; }
Property Value
Type | Description |
---|---|
FileSystemItemInfo | Information about the processed file system item. |
Remarks
Use the Item property to access the processed file system item when you implements the RenameItem, MoveItem, and other methods in a custom file system provider:
public class DbFileProvider : IFileSystemItemLoader, IFileSystemItemEditor {
// ...
public void RenameItem(FileSystemRenameItemOptions options) {
var item = options.Item;
var fileItem = GetFileItem(item);
//...
}
}
Concepts
Online Demo
See Also