We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WinList.CheckedIndices Property

Gets or sets an array of indexes for those items in the list that are selected.

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

public virtual int[] CheckedIndices { get; set; }

Property Value

Type: System.Int32[]
An array of indexes for those items in the list that are selected.

Show: