Sitecore 5.1.1 API

MainUtil.MsgBox Method (String, String)

Shows a message box.

[Visual Basic]
Overloads Public Shared Sub MsgBox( _
   ByVal message As String, _
   ByVal caption As String _
)
[C#]
public static void MsgBox(
   string message,
   string caption
);

Parameters

message
A string containing a message.
caption
A string containing the caption of the box.

Example

  MainUtil.MsgBox("Hello world", "Sitecore");

See Also

MainUtil Class | Sitecore Namespace | MainUtil.MsgBox Overload List | MessageBox