Tab

AmazonFileSystemProvider.GetLength(FileManagerFile) Method

Returns the length of the specified file.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public override 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

The GetLength method implements getting the length of the specified file when the AmazonFileSystemProvider is used.

If you create a custom file system provider inherited from the AmazonFileSystemProvider class, you can override the GetLength method to perform any custom actions.

See Also