Skip to main content
A newer version of this page is available. .
Tab

FileSystemProviderBase.GetLength(FileManagerFile) Method

Override this method to implement getting a file length.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public virtual long GetLength(
    FileManagerFile file
)

Parameters

Name Type Description
file FileManagerFile

A FileManagerFile object identifying the processed file.

Returns

Type Description
Int64

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

Remarks

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.

Note

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