PickerDialog Constructor (PickerQueryControlBase, PickerResultControlBase, EntityEditorWithPicker, Boolean)
Initializes a new instance of the PickerDialog class with the specified query, results, editor, and PeoplePicker.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
query As PickerQueryControlBase, _
result As PickerResultControlBase, _
editor As EntityEditorWithPicker, _
fPeoplePicker As Boolean _
)
'Usage
Dim query As PickerQueryControlBase
Dim result As PickerResultControlBase
Dim editor As EntityEditorWithPicker
Dim fPeoplePicker As Boolean
Dim instance As New PickerDialog(query, result, _
editor, fPeoplePicker)
public PickerDialog(
PickerQueryControlBase query,
PickerResultControlBase result,
EntityEditorWithPicker editor,
bool fPeoplePicker
)
Parameters
query
Type: Microsoft.SharePoint.WebControls.PickerQueryControlBaseA PickerQueryControlBase object. PickerDialog calls methods of this object to run queries.
result
Type: Microsoft.SharePoint.WebControls.PickerResultControlBaseA PickerResultControlBase object. PickerDialog calls methods of this object to set the appearance of the dialog box.
editor
Type: Microsoft.SharePoint.WebControls.EntityEditorWithPickerAn EntityEditorWithPicker object that is used to for the user interface.
fPeoplePicker
Type: System.BooleanReserved in the current version. This parameters should always be set to false.