Share via


DVDropDownList.SelectedIndex Property

Gets or sets the index of the selected item in the drop down list.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Property SelectedIndex As Integer
    Get
    Set
'Usage
Dim instance As DVDropDownList
Dim value As Integer

value = instance.SelectedIndex

instance.SelectedIndex = value
public override int SelectedIndex { get; set; }

Property Value

Type: System.Int32
A 32-bit signed integer that represents the index of the selected item.

See Also

Reference

DVDropDownList Class

DVDropDownList Members

Microsoft.SharePoint.WebControls Namespace