Click or drag to resize

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.16.0
Syntax
C#
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
ExceptionCondition
ObjectDisposedExceptionThe IInputElement has already been disposed.
ArgumentExceptionThe value is null, empty, or contains only blank characters.
See Also