Skip to main content

FileSystemProviderBase.GetLength(FileManagerFile) Method

Override this method to implement getting a file length.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public virtual long GetLength(
    FileManagerFile file


Name Type Description
file FileManagerFile

A FileManagerFile object identifying the processed file.


Type Description

A Int64 value that is the file length, in bytes.


If you create a custom file system provider inherited from the FileSystemProviderBase class, you can override the GetLength method to get a file length.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetLength(FileManagerFile) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also