ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Framework.Dialogs Namespace / MessageBox Class / Show Method / Show(String,String,MessageBoxButton) Method

In This Topic
    Show(String,String,MessageBoxButton) Method
    In This Topic
    Displays a message box that has a message, title bar caption, and button; and that returns a result.
    Syntax
    Public Overloads Shared Function Show( _
       ByVal messageText As String, _
       ByVal caption As String, _
       ByVal button As MessageBoxButton _
    ) As MessageBoxResult

    Parameters

    messageText
    caption
    button
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also