_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
Function Display As Boolean
'Usage
Dim instance As _SelectNamesDialog
Dim returnValue As Boolean

returnValue = instance.Display()
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