FileSystemProviderBase.GetLength(FileManagerFile) Method
Override this method to implement getting a file length.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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.
Related GitHub Examples
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.