Tab

DataSourceFileSystemProvider.ReadFile(FileManagerFile) Method

Implements file reading.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public override Stream ReadFile(
    FileManagerFile file
)

Parameters

Name Type Description
file FileManagerFile

A FileManagerFile object that is the processed file.

Returns

Type Description
Stream

A Stream object that points to the processed file.

Remarks

The ReadFile method implements reading a file when the default DataSourceFileSystemProvider is used.

If you create a custom file system provider inherited from the DataSourceFileSystemProvider class, you can override the ReadFile method to provide custom method implementation.

See Also