This documentation is archived and is not being maintained.

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)

public virtual string SelectedItem { get; set; }

Property Value

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

Show: