Share via


WinControl.AccessibleDescription Property

Gets the description of the underlying IAccessible of this WinControl.

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

Syntax

'Declaration
Public ReadOnly Property AccessibleDescription As String
public string AccessibleDescription { get; }
public:
property String^ AccessibleDescription {
    String^ get ();
}
member AccessibleDescription : string with get
function get AccessibleDescription () : String

Property Value

Type: String

Remarks

Example: Verify the description of IAccessible.

Assert.AreEqual(5, myLabel.AccessibleDescription);

.NET Framework Security

See Also

Reference

WinControl Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace