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: System.String
The selected item in this combo box control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace