Share via


WinList.SelectedItems Property

Gets an array of the selected items in this list.

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

Syntax

'Declaration
Public Overridable Property SelectedItems As String()
public virtual string[] SelectedItems { get; set; }
public:
virtual property array<String^>^ SelectedItems {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
abstract SelectedItems : string[] with get, set
override SelectedItems : string[] with get, set
function get SelectedItems () : String[]
function set SelectedItems (value : String[])

Property Value

Type: array<System.String[]
An array of the selected items in this list.

.NET Framework Security

See Also

Reference

WinList Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace