![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
Provides access to a method that works with a dialog for displaying a message.
| Name | Description | |
|---|---|---|
![]()  | 
DoModal | Shows the dialog with a message. | 
| Classes | Description | 
|---|---|
| MessageDialog | A dialog used for displaying a message. | 
The message dialog is used to display a message to the user.
To get access to the IMessageDialog interface, create a new MessageDialog object.
The following code shows how to get a reference to IMessageDialog interface.
IMessageDialog msgDlg = new MessageDialogClass();
The following code shows how to get a reference to IMessageDialog interface.
Dim msgDlg As IMessageDialog = New MessageDialogClass