Table of contents
TOC
Collapse the table of content
Expand the table of content

PickerDialog.Properties Property (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the ** PickerProperties** object to specify custom properties for data handler component. Read-only

Syntax

expression. Properties

expression An expression that returns a PickerDialog object.

Remarks

The properties of the PickerProperties object will be passed to the data handler.

Example

The following code sets various Picker Dialog properties and retrieves the results.

Dim objPickerDialog As PickerDialog 
Dim objPickerProperties As PickerProperties 

Set objPickerDialog = Application.PickerDialog 
objPickerDialog.DataHandlerId = "{000CDF0A-0000-0000-C000-000000000046}" 
objPickerDialog.Title = "Sample Picker Dialog" 
Set objPickerProperties = objPickerDialog.Properties 
Set objPickerProperty = objPickerProperties.Add("SiteUrl", "http://my", msoPickerFieldtypeText) 

' Show the Picker Dialog with no existing result. 
Set objPickerResults = objPickerDialog.Show(True) 

See also

Concepts

PickerDialog Object

Other resources

PickerDialog Object Members

© 2018 Microsoft