 | 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
Syntaxpublic int SelectedIndex { get; set; }
Public Property SelectedIndex As Integer
Get
Set
public:
property int SelectedIndex {
int get ();
void set (int value);
}
Request Example
View SourceProperty Value
Type:
Int32Return 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.
ExceptionsException | Condition |
---|
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