Table of contents
TOC
Recolher sumário
Expandir sumário

Objeto PickerDialog (Office)PickerDialog Object (Office)

office 365 dev account|Última Atualização: 22/03/2018
|
2 Colaboradores

Oferece a funcionalidade de interface de diálogo com o usuário para seleção de pessoas ou dados.Provides dialog user interface functionality of for picking people or picking data.

ComentáriosRemarks

Obtenha o objeto PickerDialog por meio da propriedade PickerDialog do objeto Application .Get the PickerDialog object through the PickerDialog property in Application object.

ExemploExample

O código a seguir define as propriedades da caixa de diálogo Selecionador e a exibe.The following code sets the Picker Dialog properties and then displays the Picker Dialog.

Dim objPickerDialog As PickerDialog 
Dim objPickerProperties As PickerProperties 
Dim objPickerProperty As PickerProperty 
Dim objPickerExistingResults As PickerResults 
Dim objPickerExistingResult As PickerResult 
Dim objPickerResults As PickerResults 

' Configure the Picker Dialog properties. 
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) 
Set objPickerExistingResults = objPickerDialog.CreatePickerResults 
Set objPickerExistingResult = objPickerExistingResults.Add("johndoe@contoso.com", "John Doe", "User") 

' Show the Picker Dialog and get the results. 
Set objPickerResults = objPickerDialog.Show(True, objPickerExistingResult)

MétodosMethods

NomeName
CreatePickerResultsCreatePickerResults
ResolverResolve
ShowShow

PropriedadesProperties

NomeName
ApplicationApplication
CreatorCreator
DataHandlerIdDataHandlerId
PropriedadesProperties
TítuloTitle

Veja tambémSee also

Outros recursosOther resources

Referência do modelo de objetoObject Model Reference

© 2018 Microsoft