Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an item to the drop-down list box with ID, name, and description, in the specified group.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub AddChoice ( _
id As String, _
name As String, _
description As String, _
group As String _
)
'Usage
Dim instance As GroupedDropDownList
Dim id As String
Dim name As String
Dim description As String
Dim group As String
instance.AddChoice(id, name, description, _
group)
public void AddChoice(
string id,
string name,
string description,
string group
)
Parameters
id
Type: System.StringA string that represents the ID.
name
Type: System.StringA string that represents the name.
description
Type: System.StringA string that represents the description.
group
Type: System.StringA string that represents the group.