FileManagerFile(FileSystemProviderBase, FileManagerFolder, String, String, FileManagerFileProperties) Constructor
Initializes a new instance of the FileManagerFile class with the specified settings when the specified file system provider is used.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
public FileManagerFile(
FileSystemProviderBase provider,
FileManagerFolder parentFolder,
string fileName,
string id,
FileManagerFileProperties properties
)
Parameters
| Name | Type | Description |
|---|---|---|
| provider | FileSystemProviderBase | A FileSystemProviderBase object specifying the file system provider that will be used to work with the file. |
| parentFolder | FileManagerFolder | A FileManagerFolder object that is a parent folder for the newly created file. |
| fileName | String | A String value specifying the file name. |
| id | String | A string value that identifies the newly created file. Initializes the file’s FileManagerItem.Id property. |
| properties | FileManagerFileProperties | A FileManagerFileProperties object providing the file properties. |
See Also