PickerResults.Add Method
Adds a PickerResult object to the PickerResults collection.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function Add ( _
Id As String, _
DisplayName As String, _
Type As String, _
SIPId As String, _
ItemData As Object, _
SubItems As Object _
) As PickerResult
'Usage
Dim instance As PickerResults
Dim Id As String
Dim DisplayName As String
Dim Type As String
Dim SIPId As String
Dim ItemData As Object
Dim SubItems As Object
Dim returnValue As PickerResult
returnValue = instance.Add(Id, DisplayName, _
Type, SIPId, ItemData, SubItems)
PickerResult Add(
string Id,
string DisplayName,
string Type,
string SIPId,
Object ItemData,
Object SubItems
)
Parameters
Id
Type: System.StringSpecifies the identifier of the PickerResult.
DisplayName
Type: System.StringSpecifies the display name of the PickerResult.
Type
Type: System.StringSpecifies the type of the PickerResult.
SIPId
Type: System.StringCurrently not supported. The SIPId is the identifier for Office Communication Server. It is used only for the people picking scenario.
ItemData
Type: System.ObjectSpecifies the non- displaying item binding data.
SubItems
Type: System.ObjectDisplays the purpose or non-display purpose field data of the PickerResult. It is used for passing column values in the Picker Dialog.
Return Value
Type: Microsoft.Office.Core.PickerResult
Returns PickerResult.