FileValue Constructor (String, MimeType, String) |
Constructor for FileValue.
Namespace:
DotNetBrowser.Net
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.14.0
Syntax public FileValue(
string fileName,
MimeType contentType,
string filePath
)
Parameters
- fileName
- Type: SystemString
The file name. Cannot be empty. - contentType
- Type: DotNetBrowser.NetMimeType
A string representing the content type determined by the file extension. Equals
`application/octet-stream` when there's no MIME type associated with the file extension.
- filePath
- Type: SystemString
The file path. Cannot be empty.
Exceptions Exception | Condition |
---|
ArgumentException |
when file name or path is null or empty.
|
See Also