This document is archived and information here might be outdated.  Recommended version.


IMessageDialog Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IM > IMessageDialog Interface
ArcGIS Developer Help

IMessageDialog Interface

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

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Method DoModal Shows the dialog with a message.

Classes that implement IMessageDialog

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