Share via


GroupedItemPicker.AddChoice Method

Marks an item as a choice in the grouped item picker. Takes a string ID, string name, un-encoded string description, and string 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 GroupedItemPicker
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

See Also

Reference

GroupedItemPicker Class

GroupedItemPicker Members

Microsoft.SharePoint.WebControls Namespace