Share via


HtmlListItem.Selected Property

Gets a value that indicates whether this list item is selected.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Selected As Boolean
public virtual bool Selected { get; }
public:
virtual property bool Selected {
    bool get ();
}
abstract Selected : bool with get 
override Selected : bool with get
function get Selected () : boolean

Property Value

Type: Boolean
true if this list item is selected; otherwise, false.

.NET Framework Security

See Also

Reference

HtmlListItem Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace