Click or drag to resize
Task Scheduler Managed Class Library

CustomComboBoxSelectedIndex Property

Gets or sets the index specifying the currently selected item.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax
public int SelectedIndex { get; set; }
Request Example View Source

Property Value

Type: Int32

Return Value

Type: Int32
A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The specified index is less than or equal to -2. -or- The specified index is greater than or equal to the number of items in the combo box.
See Also