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

ArcGIS.Desktop.Framework.Dialogs Namespace > MessageBox Class > Show Method : Show(String,String,MessageBoxButton,MessageBoxImage,MessageBoxResult) Method
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.
Syntax

Parameters

messageText
caption
button
icon
defaultResult
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MessageBox Class
MessageBox Members
Overload List