Share via


HtmlImage.Alt Property

Gets the alternate text to display if the image is not available.

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

Syntax

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

Property Value

Type: String
The alternate text to display if the image is not available.

.NET Framework Security

See Also

Reference

HtmlImage Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace