SelectedIndex Property

Retrieves the lowest ordinal index of the currently selected items in the list.

Syntax

Visual Basic Overridable  Public  ReadOnly Property SelectedIndex As int
C# public   virtual  int SelectedIndex { get; }
Managed C++ public:  __property virtual int get_SelectedIndex();
JScript public   function get SelectedIndex() : int;

Possible Values

iIndex int that receives the lowest ordinal index of the currently selected items in the list.

The property is read-only. The property has no default value.

Applies To

TOOLBARDROPDOWNLIST

See Also

Internet Explorer WebControls, About the Toolbar WebControl