This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IM > IMessageDialog Interface (ArcObjects .NET 10.5 SDK) |
Provides access to a method that works with a dialog for displaying a message.
Description | ||
---|---|---|
DoModal | Shows the dialog with a message. |
CoClasses and 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