次の方法で共有


_SelectNamesDialog.Display Method

Displays the Select Names dialog box.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function Display As Boolean
'Usage
Dim instance As _SelectNamesDialog
Dim returnValue As Boolean

returnValue = instance.Display()
[DispIdAttribute()]
bool Display()

Return Value

Type: System.Boolean
A Boolean value (bool in C#) that is True if the user has clicked OK, and False if the user has clicked Cancel or the close icon.

Remarks

When displaying the Select Names dialog box, Display uses the previous location and size (indicated by the top, left, width, and height) of the dialog box.

The Select Names dialog box is modal, meaning that code execution will halt until the user clicks OK, Cancel, or the close icon.

You should detect for error conditions that include insufficient memory or another message or dialog box is open.

See Also

Reference

_SelectNamesDialog Interface

_SelectNamesDialog Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Display the Select Names Dialog Box to Resolve Recipients

How to: Get the Global Address List or a Set of Address Lists for a Store

How to: Use the Select Names Dialog Box to Obtain and Assign Recipients to an Appointment