Share via


WinComboBox.SelectedItem Property

Gets or sets the selected item in this combo box control.

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

Syntax

'Declaration
Public Overridable Property SelectedItem As String
public virtual string SelectedItem { get; set; }
public:
virtual property String^ SelectedItem {
    String^ get ();
    void set (String^ value);
}
abstract SelectedItem : string with get, set 
override SelectedItem : string with get, set
function get SelectedItem () : String 
function set SelectedItem (value : String)

Property Value

Type: String
The selected item in this combo box control.

.NET Framework Security

See Also

Reference

WinComboBox Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace