.NET Framework Class Library
UserInterface.MsgBox Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.MsgBox Method

Shows a simple message box, with a title and a button configuration (if specified)

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function MsgBox ( _

 message As String, _
 Optional style As String = "", _
 Optional caption As String = "" _
As Long

C#

public long MsgBox(

 string message,
 string style = "",
 string caption = ""
)

Visual C++

public:

long long MsgBox(
 Stringmessage,
 Stringstyle = L"",
 Stringcaption = L""
)

JavaScript

function msgBox(messagestylecaption);

Parameters

message

Type: System.String
Message to display

style (Optional)

Type: System.String
Optional. The style button of the message box (see Msgbox constants)

caption (Optional)

Type: System.String
Optional. The title of the window

Return Value

msgbox constant value

Remarks

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace