IInputElementFile Property |
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.
Namespace:
DotNetBrowser.Dom
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.22.1
Syntax string File { get; set; }
Property Value
Type:
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 the
multiple attribute,
this will be the first of file paths. If the element has no file selected, this will be an empty string.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The IInputElement has already been disposed. |
ArgumentException | The value is null, empty, or contains only blank characters. |
See Also