編輯

共用方式為


_SelectNamesDialog.Display Method

Definition

Displays the Select Names dialog box.

public:
 bool Display();
public bool Display ();
Public Function Display () As Boolean

Returns

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.

Applies to