In the base class, ListControl, the SelectedIndex property returns a zero-based index of the currently selected item. The default is -1, which indicates that nothing is selected. The SelectedIndex property is not applicable to the BulletedList control.
Note When you use the get accessor for the SelectedIndex property, it always returns -1. An attempt to use the set accessor for the SelectedIndex property raises a NotSupportedException.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)