ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Dialogs Namespace / MessageBox Class / Show Method

In This Topic
    Show Method (MessageBox)
    In This Topic
    Overload List
    OverloadDescription
    Displays a message box that has a message and that returns a result.  
    Displays a message box that has a message and title bar caption; and that returns a result.  
    Displays a message box that has a message and title bar caption; and that returns a result.  
    Displays a message box in front of the specified window. The message box displays a message and returns a result.  
    Displays a message box in front of the specified window. The message box displays a message and title bar caption; and it returns a result.  
    Displays a message box that has a message, title bar caption, and button; and that returns a result.  
    Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and it also returns a result.  
    Displays a message box that has a message, title bar caption, button, and icon; and that returns a result.  
    Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and it also returns a result.  
    Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and accepts a default message box result and returns a result.  
    Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and accepts a default message box result, complies with the specified options, and returns a result.  
    Displays a message box in front of the specified window. The message box displays a checkbox where users may opt to disable its appearance in the future. The message box also displays a message, title bar caption, button, and icon. The caller may also specify a default message box result. On return, the ref Boolean argument will be set to true if the checkbox was checked by the user.  
    Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and accepts a default message box result, complies with the specified options, and returns a result.  
    Displays a message box in front of the specified window. The message box displays a checkbox where users may opt to disable its appearance in the future. The message box also displays a message, title bar caption, button, and icon. The caller may also specify a default message box result. On return, the ref Boolean argument will be set to true if the checkbox was checked by the user.  
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also