Partilhar via


DVListBox.SelectedValue Property

Gets or sets the value of the selected item in the list box.

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 DVListBox
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

DVListBox Class

DVListBox Members

Microsoft.SharePoint.WebControls Namespace