Partager via


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)

Syntax

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

Property Value

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

.NET Framework Security

See Also

Reference

WinList Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace