ArcObjects Library Reference (Framework)  

IMessageDialog Interface

Provides access to a method that works with a dialog for displaying a message.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method DoModal Shows the dialog with a message.

CoClasses that implement IMessageDialog

CoClasses and Classes Description
MessageDialog A dialog used for displaying a message.

Remarks

The message dialog is used to display a message to the user.

To get access to the IMessageDialog interface, create a new MessageDialog object.

[C#]

   The following code shows how to get a reference to IMessageDialog interface.

  IMessageDialog msgDlg = new MessageDialogClass();
[Visual Basic .NET]

   The following code shows how to get a reference to IMessageDialog interface.

  Dim msgDlg As IMessageDialog = New MessageDialogClass

.NET Related Topics

How to pass the ArcGIS for Desktop application from a command or tool