Skip to main content
Tab

GoogleDriveFileSystemProviderBase.UploadFile(FileManagerFolder, String, Stream) Method

Implements a file upload.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public override void UploadFile(
    FileManagerFolder folder,
    string fileName,
    Stream content
)

Parameters

Name Type Description
folder FileManagerFolder

A FileManagerFolder object that is the folder where the file is being uploaded.

fileName String

A string value specifying the file name.

content Stream

A Stream that is the file content.

Remarks

The UploadFile method implements uploading a file when the GoogleDriveFileSystemProviderBase is used.

If you create a custom file system provider inherited from the GoogleDriveFileSystemProviderBase class, you can override the UploadFile method to perform any custom actions when an end-user uploads a file.

See Also