Dela via


DVDropDownList.SelectedValue Property

Gets or sets the value 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
<BrowsableAttribute(True)> _
Public Overrides Property SelectedValue As String
    Get
    Set
'Usage
Dim instance As DVDropDownList
Dim value As String

value = instance.SelectedValue

instance.SelectedValue = value
[BrowsableAttribute(true)]
public override string SelectedValue { get; set; }

Property Value

Type: System.String
A string that contains the value of the selected item in the drop down list.

See Also

Reference

DVDropDownList Class

DVDropDownList Members

Microsoft.SharePoint.WebControls Namespace