GroupedItemPicker.AddItem 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 AddItem ( _
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.AddItem(id, name, description, _
group)
public void AddItem(
string id,
string name,
string description,
string group
)
Parameters
id
Type: System.StringThe ID to be passed to AddItemHtml(String, String, String, String).
name
Type: System.StringThe name to be passed to AddItemHtml(String, String, String, String).
description
Type: System.StringThe description to be passed to AddItemHtml(String, String, String, String).
group
Type: System.StringThe group to be passed to AddItemHtml(String, String, String, String).