Partager via


HtmlRadioButton.Selected Property

Gets a value that indicates whether this option button is selected.

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

Syntax

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

Property Value

Type: Boolean
true if this option button is selected; otherwise, false.

.NET Framework Security

See Also

Reference

HtmlRadioButton Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace