ArcGIS Pro 2.6 API Reference Guide
Show(String,String,MessageBoxButton,MessageBoxImage) Method

ArcGIS.Desktop.Framework.Dialogs Namespace > MessageBox Class > Show Method : Show(String,String,MessageBoxButton,MessageBoxImage) Method
Displays a message box that has a message, title bar caption, button, and icon; and that returns a result.
Syntax
Public Overloads Shared Function Show( _
   ByVal messageText As String, _
   ByVal caption As String, _
   ByVal button As MessageBoxButton, _
   ByVal icon As MessageBoxImage _
) As MessageBoxResult

Parameters

messageText
caption
button
icon
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MessageBox Class
MessageBox Members
Overload List