Property File
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
File
Gets or sets an absolute or relative path to a file if the current input DOM element has the type attribute with the 'file' value.
string File { get; set; }
Property Value
- string
The absolute or relative path to a file if the current input DOM element has the type attribute with the
'file'
value. If this DOM element has themultiple
attribute, this will be the first of file paths. If the element has no file selected, this will be an empty string.
Exceptions
- ObjectDisposedException
The IInputElement has already been disposed.
- ArgumentException
The
value
is null, empty, or contains only blank characters.