PickerResults.Add(String, String, String, String, Object, Object) Method

Definition

Adds a PickerResult object to the PickerResults collection.

public Microsoft.Office.Core.PickerResult Add (string Id, string DisplayName, string Type, string SIPId = "", object ItemData, object SubItems);
abstract member Add : string * string * string * string * obj * obj -> Microsoft.Office.Core.PickerResult
Public Function Add (Id As String, DisplayName As String, Type As String, Optional SIPId As String = "", Optional ItemData As Object, Optional SubItems As Object) As PickerResult

Parameters

Id
String

Specifies the identifier of the PickerResult.

DisplayName
String

Specifies the display name of the PickerResult.

Type
String

Specifies the type of the PickerResult.

SIPId
String

Currently not supported. The SIPId is the identifier for Office Communication Server. It is used only for the people picking scenario.

ItemData
Object

Specifies the non- displaying item binding data.

SubItems
Object

Displays the purpose or non-display purpose field data of the PickerResult. It is used for passing column values in the Picker Dialog.

Returns

Returns PickerResult.

Applies to