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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace