Share via


HtmlFileInput.FileName Property

Gets or sets the file name in this control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable Property FileName As String
public virtual string FileName { get; set; }
public:
virtual property String^ FileName {
    String^ get ();
    void set (String^ value);
}
abstract FileName : string with get, set 
override FileName : string with get, set
function get FileName () : String 
function set FileName (value : String)

Property Value

Type: String
The file name.

.NET Framework Security

See Also

Reference

HtmlFileInput Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace