Share via


HtmlImage.Href Property

Gets the value of the HREF attribute of this control.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Href As String
public virtual string Href { get; }
public:
virtual property String^ Href {
    String^ get ();
}
abstract Href : string
override Href : string
function get Href () : String

Property Value

Type: System.String
The value of the HREF attribute of this control.

.NET Framework Security

See Also

Reference

HtmlImage Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace