ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Dialogs Namespace / MessageBox Class / Show Method / Show(Window,String,String) Method
The parent window.
The message.
The window caption.

In This Topic
    Show(Window,String,String) Method
    In This Topic
    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.
    Syntax
    Public Overloads Shared Function Show( _
       ByVal owner As Window, _
       ByVal messageText As String, _
       ByVal caption As String _
    ) As MessageBoxResult

    Parameters

    owner
    The parent window.
    messageText
    The message.
    caption
    The window caption.

    Return Value

    Specifies which message box button the user clicked.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also