GroupedItemPicker.AddInitialSelection Method
Takes a string ID and a string name. Marks the item with that ID and name as part of the initial selection when the control is rendered.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub AddInitialSelection ( _
id As String, _
name As String _
)
'Usage
Dim instance As GroupedItemPicker
Dim id As String
Dim name As String
instance.AddInitialSelection(id, name)
public void AddInitialSelection(
string id,
string name
)
Parameters
id
Type: System.StringThe ID to be passed to AddSelectedItem(String, String).
name
Type: System.StringThe name to be passed to AddSelectedItem(String, String).